symbol net_buffer_length not found when "make test" DBD::mysql

symbol net_buffer_length not found when "make test" DBD::mysql

am 01.07.2003 16:06:59 von Michael Koch

Hello all,

OS: Solaris 8
MySQL version: 4.0.13-standard
DBI: 1.37

I'm having trouble with the install of DBD::mysql module in the context of a
Bugzilla project.
I have read mailing-list archives, tried tips in the DBD::mysql readme, but
nothing worked.

So, when doing the manual install:

# perl Makefile.PL
No errors here. Here are relevant flags used:
(...)
cflags (mysql_config) = -I'/opt/mysql/include'
libs (mysql_config)
= -L/opt/mysql/lib -lmysqlclient -lgen -lsocket -lnsl -lm
(...)

# make
No errors. Only 2 warnings:
(...)
Warning: duplicate function definition 'do' detected in mysql.xs, line 193
Warning: duplicate function definition 'rows' detected in mysql.xs, line 291
(...)

# make test

PERL_DL_NONLAZY=1 /opt/ActivePerl-5.8/bin/perl "-MExtUtils::Command::MM"
"-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base...........install_driver(mysql) failed: Can't load
'/opt/CPAN/.cpan_cache/build/DBD-mysql-2.9002/blib/arch/auto /DBD/mysql/mysql
..so' for module DBD::mysql: ld.so.1: /opt/ActivePerl-5.8/bin/perl: fatal:
relocation error: file
/opt/CPAN/.cpan_cache/build/DBD-mysql-2.9002/blib/arch/auto/ DBD/mysql/mysql.
so: symbol net_buffer_length: referenced symbol not found at
/opt/ActivePerl-5.8/lib/5.8.0/sun4-solaris-thread-multi/Dyna Loader.pm line
229.
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

Then I have a bunch of same errors.
The important point here is: symbol net_buffer_length: referenced symbol not
found

I don't really understand why it doesn't find this symbol...

Any ideas ?

Thanks a lot
Mike


--
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