LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   make test on perl5 failed (http://www.linuxquestions.org/questions/programming-9/make-test-on-perl5-failed-22322/)

quixy 06-01-2002 11:36 AM

make test on perl5 failed
 
Hi,

this test does failed:

lib/odbm............../perl: error while loading shared libraries: ../lib/auto/ODBM_File/ODBM_File.so: undefined symbol: dbminit
FAILED at test 0

What do I have to do now?
:newbie:

otto06217 11-17-2004 02:58 PM

Re: make test on perl5 failed
 
Quote:

Originally posted by quixy
Hi,

this test does failed:

lib/odbm............../perl: error while loading shared libraries: ../lib/auto/ODBM_File/ODBM_File.so: undefined symbol: dbminit
FAILED at test 0

What do I have to do now?
:newbie:

I hope it's not too late: On SuSE 8.0 or higher the symbol dbminit resides in libgdbm_compat.so.x, so you need to change

# uses GDBM dbm compatibility feature - at least on SuSE 8.0
$self->{LIBS} = ['-lgdbm'];

in

# uses GDBM dbm compatibility feature - at least on SuSE 8.0
$self->{LIBS} = ['-lgdbm -lgdbm_compat'];

in file perl-5.x.y/ext/ODBM_File/hints/linux.pl.

This should work even in debian :D

Regards


All times are GMT -5. The time now is 06:17 PM.