DBD-mysql failure

DBD-mysql failure

am 07.01.2005 01:52:25 von Ken Wood

I have MySQL 4.0.23 installed on a Solaris 9 machine. It seems to be fine.
I got DBD::mysql to
compile fine but when running it I get the following error:

ld.so.1: /usr/bin/perl: fatal: relocation error: file /usr/local/lib/perl5/
site_perl/5.8.5/sun4-solaris/auto/DBD/mysql/mysql.so: symbol mysql_init:
referenced symbol not found

Here is the mysql_config output:

Usage: /usr/local/mysql/bin/mysql_config [OPTIONS]
Options:
--cflags [-I/usr/local/mysql/include]
--include [-I/usr/local/mysql/include]
--libs [-L/usr/local/mysql/lib -lmysqlclient -lcrypt -lgen
-lsocket
-lnsl -lm]
--libs_r [-L/usr/local/mysql/lib -lmysqlclient_r -lcrypt
-lgen -lsock
et -lnsl -lm]
--socket [/tmp/mysql.sock]
--port [3306]
--version [4.0.23]
--libmysqld-libs [-L/usr/local/mysql/lib -lmysqld -lcrypt -lgen
-lsocket -lns
l -lm]

I have verified that all the listed libraries exist. Any ideas what is
wrong?

Thanks,

Ken



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