DBD-mysql failure

"Ken Wood" <[email protected]>
Newsgroups gmane.comp.db.mysql.perl
Message-ID <[email protected]>
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/[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.