[Voiceglue] Voiceglue 0.11 installation on CentOS 5
Robert Lindabury
BLindabury at Swiftreach.com
Tue Sep 1 16:33:26 UTC 2009
Thanks for the response Doug.
Here's a rundown of what happens when trying to do an install of
Voiceglue 0.11 using CentOS 5.3 x86_64.
Install of Vgluefftw fails as follows:
[root at NJM-Ast4 Vgluefftw]# ./Build install
gcc -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -o
blib/arch/auto/Vgluefftw/Vgluefftw.so lib/Vgluefftw.o -lfftw3 -lm
/usr/bin/ld: skipping incompatible /usr/lib/libfftw3.so when searching
for -lfftw3
/usr/bin/ld: skipping incompatible /usr/lib/libfftw3.a when searching
for -lfftw3
/usr/bin/ld: cannot find -lfftw3
collect2: ld returned 1 exit status
error building blib/arch/auto/Vgluefftw/Vgluefftw.so from
lib/Vgluefftw.o at
/usr/lib/perl5/vendor_perl/5.8.8/ExtUtils/CBuilder/Base.pm line 227
I have fftw-devel 3.2.2-14.el5 installed which is i386 arch and the libs
are located in /usr/lib named libfftw3 instead of lfftw3. I changed the
Build.PL file to look for libfftw3 instead and ./Build install works
even though a test returned the following:
[root at NJM-Ast4 Vgluefftw]# ./Build test
t/00-load.........# Testing Vgluefftw 0.02, Perl 5.008008, /usr/bin/perl
t/00-load.........ok
t/boilerplate.....ok
t/pod-coverage....ok
t/pod.............skipped
all skipped: Test::Pod 1.14 required for testing POD
t/vgluefftw......./usr/bin/perl: symbol lookup error:
/home/bobl/voiceglue_0.11/Vgluefftw/blib/arch/auto/Vgluefftw/Vgluefftw.s
o: undefined symbol: fftw_malloc
t/vgluefftw.......dubious
Test returned status 127 (wstat 32512, 0x7f00)
DIED. FAILED tests 1-14
Failed 14/14 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
------------------------------------------------------------------------
-------
t/vgluefftw.t 127 32512 14 28 200.00% 1-14
1 test skipped.
Failed 1/5 test scripts, 80.00% okay. 14/19 subtests failed, 26.32%
okay.
After building everything I can /etc/init.d/dynlog start and
/etc/init.d/phoneglue start successfully.
However /etc/init.d/voiceglue start fails as follows:
[root at NJM-Ast4 Vxglue]# /etc/init.d/voiceglue start
Starting voiceglue: Can't load
'/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/Vxglue/
Vxglue.so' for module Vxglue: libSBjsiD.so.3: cannot open shared object
file: No such file or directory at
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 230.
at /usr/bin/voiceglue line 54
Compilation failed in require at /usr/bin/voiceglue line 54.
BEGIN failed--compilation aborted at /usr/bin/voiceglue line 54.
[FAILED]
Help :-)
-- Bob
-----Original Message-----
From: voiceglue-bounces at voiceglue.org
[mailto:voiceglue-bounces at voiceglue.org] On Behalf Of Doug Campbell
Sent: Tuesday, September 01, 2009 12:28 AM
To: General discussion about voiceglue
Subject: Re: [Voiceglue] Voiceglue 0.11 installation on CentOS 5
> I've followed the installation instructions for 0.11 and have run up
> against a problem with my Vxglue install. Trying to install for
> Asterisk 1.4.25.1 on CentOS5. We are using 64-bit architecture. I
> didn't use the "easy install" method as CentOS isn't supported.
>
> I receive the following error when testing Vxglue build:
> # Error: Can't load
> '/home/bobl/voiceglue_0.11/Vxglue/blib/arch/auto/Vxglue/Vxglue.so' for
> module Vxglue: libSBjsiD.so.3: cannot open shared object file: No such
> file or directory at
> /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line
230.
On non-supported systems, I don't make sure that the library
dependencies are correctly set for all of the tests.
It's failing to link against SpiderMonkey because the
build isn't set up correctly for CentOS.
If the openvxi build installs correctly on CentOS (which
I'm assuming it does since you got this far), you
can likely ignore the test failures in Vxglue, and just
do a "./Build install", and it will work correctly.
Doug Campbell
_______________________________________________
Voiceglue mailing list
Voiceglue at voiceglue.org
http://www.voiceglue.org/mailman/listinfo/voiceglue
More information about the Voiceglue
mailing list