DBD::mysql tests failing - symb unresolved: net_buffer_length

From: Paul (_at_)
Date: 06/16/04


Date: Wed, 16 Jun 2004 05:05:35 GMT

I'm having problems in getting the tests associated with DBD::mysql. When they are
executed, I get the following error repeated many times:

t/00base...........install_driver(mysql) failed: Can't load
'/bld/RT/.cpan/build/DBD-mysql-2.9003/blib/arch/auto/DBD/mysql/mysql.so' for module
DBD::mysql: ld.so.1: /bld/RT/bin/perl: fatal: relocation error: file
/bld/RT/.cpan/build/DBD-mysql-2.9003/blib/arch/auto/DBD/mysql/mysql.so: symbol
net_buffer_length: referenced symbol not found at
/bld/RT/perl/lib/5.8.4/sun4-solaris/DynaLoader.pm line 230

of course, most tests fail!

I found net_buffer_length defined in
/bld/RT/mysql-standard-4.0.20-sun-solaris2.9-sparc-64bit/lib/libmysqlclient.a

The tests for DBI all passed. I tried rebuilding "mysql.so" by having the -lmysqlclient
again at the end of the cc cmd line but it did not solve this problem.

My Configuration:
        mysql-standard-4.0.20-sun-solaris2.9-sparc-64bit (binary distribution)
        perl5.8.4 (source dist)
        Used CPAN to install DBI (OKAY)
        Attempted to use CPAN ton install DBD::mysql [2.9003] (failed tests)

Any ideas on what's going on????
-paul