johnnytc4 has asked for the wisdom of the Perl Monks concerning the following question:

Hey guys, I just built a box with fedora 14 32 bit, installed DBI:DBD, DBD:MYSQL, and installed the mysql client, server, and development rpms. When my perl script that worked perfectly fine on a centos box with all the above installed. Not a linux expert by any means and all the google searches have failed to turn up a solution. Anybody with any ideas?

perl: symbol lookup error: /usr/local/lib/perl5/auto/DBD/mysql/mysql.so: uned symbol: mysql_init

Replies are listed 'Best First'.
Re: Mysql.so missing
by Eliya (Vicar) on May 06, 2011 at 22:52 UTC

    My guess would be that for some reason mysql.so did't get linked at all against libmysqlclient.so (at build time of the module).  Alternatively, if it was linked, it might be pulling in a wrong version of the library at runtime, which doesn't provide the symbol mysql_init — that's unlikely, though.

    What does ldd /usr/local/lib/perl5/auto/DBD/mysql/mysql.so  say?