make test fails for DBD::mysql

boopathy krishnamoorthy <[email protected]>
Newsgroups gmane.comp.db.mysql.perl
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.