make test error

Jean Mao <[email protected]>
Newsgroups gmane.comp.db.mysql.perl
Message-ID <[email protected]>
I am trying to install the DBD-mysql-2.9004 on a sun solaris 8.
I did:
/devl/jmao/perl586/bin/perl Makefile.PL 
--libs="-L/devl/jmao/mysql/lib/mysql -lmysqlclient -lz" 
--cflags=-I/devl/jmao/mysql/include/mysql --testhost=127.0.0.1
make
make test

I got:
osaka.ptcnet.ptc.com:jmao [117] make test
PERL_DL_NONLAZY=1 /devl/jmao/perl586/bin/perl "-MExtUtils::Command::MM" 
"-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base...........install_driver(mysql) failed: Can't load 
'/devl/jmao/DBD-mysql-2.9004/blib/arch/auto/DBD/mysql/mysql.so' for 
module DBD::mysql: ld.so.1: /devl/jmao/perl586/bin/perl: fatal: 
relocation error: file 
/devl/jmao/DBD-mysql-2.9004/blib/arch/auto/DBD/mysql/mysql.so: symbol 
mysql_real_escape_string: referenced symbol not found at 
/devl/jmao/perl586/lib/5.8.6/sun4-solaris/DynaLoader.pm line 230.
 at (eval 1) line 3
Compilation failed in require at (eval 1) 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
t/10dsnlist........install_driver(mysql) failed: Can't load 
'/devl/jmao/DBD-mysql-2.9004/blib/arch/auto/DBD/mysql/mysql.so' for 
module DBD::mysql: ld.so.1: /devl/jmao/perl586/bin/perl: fatal: 
relocation error: file 
/devl/jmao/DBD-mysql-2.9004/blib/arch/auto/DBD/mysql/mysql.so: symbol 
mysql_real_escape_string: referenced symbol not found at 
/devl/jmao/perl586/lib/5.8.6/sun4-solaris/DynaLoader.pm line 230.
 at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
 at t/10dsnlist.t line 45
t/10dsnlist........dubious                                                   

        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-3
..........

What might be wrong?

Thank you inadvance for your help.

Jean


-- 
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe:    http://lists.mysql.com/[email protected]
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.