make test fails for DBD::mysql

make test fails for DBD::mysql

am 25.09.2006 19:11:25 von boopathy krishnamoorthy

--0-460289704-1159204285=:62438
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Hello All,

I compiledDBD::mysql from its sources and installed it .While issuing "make test" i got the following error message,

PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_h>
t/00base....VER: Symbol net_safe_read found in /usr/local/mysql/lib/mysql/libmysqlclient.so.15
install_driver(mysql) failed: Can't load '/home//pkgs/DBD-mysql-3.0007/blib/arch/auto/DBD/mysql/mysql .so' for module DBD::mysql: dynamic linker: /usr/local/bin/perl: relocation error: symbol not found: net_safe_read
resolving symbol in /usr/local/mysql/lib/mysql/libmysqlclient.so.15 at /usr/local/lib/perl5/5.8.3/ncr-svr4-stdio/DynaLoader.pm line 229.
at (eval 3) line 3
Compilation failed in require at (eval 3) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/00base.t line 38
t/00base....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 4-5
Failed 2/5 tests, 60.00% okay

From the error message it can be identified that it found the symbol "net_safe_read",

VER: Symbol net_safe_read found in /usr/local/mysql/lib/mysql/libmysqlclient.so.15

but it can't able to reslolve the symbol.And I had correctly exported the LD_LIBRARY_PATH for the libmysqlclient library.

And then i tried by statically linking the libmysqlclient library. In this case the "make test" hangs at the following position,
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_h>
t/00base....

And for your info, i had created the libmysqlclient library using "--without-server" option.

Kindly let me know how can I slove this.


---------------------------------
Find out what India is talking about on - Yahoo! Answers India
Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW
--0-460289704-1159204285=:62438--