Subject: | Problem with Compress::LZO installation |
Date: | Wed, 28 Nov 2007 15:41:19 +0100 |
To: | <bug-Compress-LZO [...] rt.cpan.org> |
From: | "Pawel Bol" <pawel.bol [...] comarch.com> |
Hello!
I've got a problem with Compress::LZO installation. Due to the fact that
LZO library has been installed painlessly, I suspect this might be a
problem with the module itself.
The problem appears when trying to "use" the module:
$ perl -e "use Compress::LZO;"
perl: symbol lookup error:
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/Compress
/LZO/LZO.so: undefined symbol: __lzo_init_v2
If you could investigate the problem and give me some clues, I'd be
extremely grateful for your help!
Here's all the important information:
OS/arch: Linux/x86_64
Makefile.PL options:
$LZO_INCLUDE = '-I/usr/local/include/lzo';
$LZO_LIB = '-L/usr/local/lib';
Console output:
[tccbuild@neon Compress-LZO-1.08]$ ./configure
Note (probably harmless): No library found for -llzo
Writing Makefile for Compress::LZO
$ make
cp LZO.pm blib/lib/Compress/LZO.pm
AutoSplitting blib/lib/Compress/LZO.pm (blib/lib/auto/Compress/LZO)
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap
/usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap LZO.xs > LZO.xsc
&& mv LZO.xsc LZO.c
gcc -c -I/usr/local/include/lzo -D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=generic -DVERSION=\"1.08\" -DXS_VERSION=\"1.08\" -fPIC
"-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" LZO.c
LZO.xs: In function âXS_Compress__LZO_compressâ:
LZO.xs:134: warning: pointer targets in assignment differ in signedness
LZO.xs: In function âXS_Compress__LZO_decompressâ:
LZO.xs:182: warning: pointer targets in assignment differ in signedness
Running Mkbootstrap for Compress::LZO ()
chmod 644 LZO.bs
rm -f blib/arch/auto/Compress/LZO/LZO.so
gcc -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic LZO.o
-o blib/arch/auto/Compress/LZO/LZO.so \
\
chmod 755 blib/arch/auto/Compress/LZO/LZO.so
cp LZO.bs blib/arch/auto/Compress/LZO/LZO.bs
chmod 644 blib/arch/auto/Compress/LZO/LZO.bs
Manifying blib/man3/Compress::LZO.3pm
$ su
Password:
# make install
Installing
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/Compress
/LZO/LZO.so
Installing
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/Compress
/LZO/LZO.bs
Files found in blib/arch: installing files in blib/lib into architecture
dependent library tree
Installing
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/Compress
/LZO/autosplit.ix
Installing
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/Compress/LZO.
pm
Installing /usr/share/man/man3/Compress::LZO.3pm
Writing
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/Compress
/LZO/.packlist
Appending installation info to
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/perllocal.pod
[root@neon Compress-LZO-1.08]# exit
$ perl -e "use Compress::LZO;"
perl: symbol lookup error:
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/Compress
/LZO/LZO.so: undefined symbol: __lzo_init_v2
If you need any more, please let me know!
Many thanks in advance for your valuable time spent on solving this
problem! Please keep me informed if only possible! Thanks a lot!
Best regards,
Pawel Bol.