DBD::mysql tests failing: symb unresolved: net_buffer_length

DBD::mysql tests failing: symb unresolved: net_buffer_length

am 16.06.2004 08:00:04 von Paul McFerrin

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/mys ql/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/mysq l/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


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: DBD::mysql tests failing: symb unresolved: net_buffer_length

am 16.06.2004 08:37:48 von Jochen Wiedmann

Most possibly caused by a shared library, which is not found. Try a
build using static libraries: Create a new directory, copy the .a files
to that directory (*not* the .so files) and use that as the lib
directory for building the driver.


Jochen


On Mi, 2004-06-16 at 08:00, Paul McFerrin wrote:
> 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/mys ql/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/mysq l/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
>

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: DBD::mysql tests failing: symb unresolved: net_buffer_length

am 16.06.2004 08:37:48 von Jochen Wiedmann

Most possibly caused by a shared library, which is not found. Try a
build using static libraries: Create a new directory, copy the .a files
to that directory (*not* the .so files) and use that as the lib
directory for building the driver.


Jochen


On Mi, 2004-06-16 at 08:00, Paul McFerrin wrote:
> 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/mys ql/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/mysq l/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
>

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org