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

I have an application that runs a select statement and seemingly randomly, it internal server errors with one of these to messages both from the command line and the browser:

/usr/bin/perl: error while loading shared libraries: /usr/lib/perl5/site_perl/5.6.0/i386-linux/auto/DBD/mysql/mysql.so: undefined symbol: mysql_db_rollback

... or ...

/usr/bin/perl: error while loading shared libraries: /usr/lib/perl5/site_perl/5.6.0/i386-linux/auto/DBD/mysql/mysql.so: undefined symbol: mysql_st_prepare

  • Comment on Why is DBD giving me an error randomly?

Replies are listed 'Best First'.
Re: Why is DBD giving me an error randomly?
by screamingeagle (Curate) on Feb 13, 2002 at 07:16 UTC
    based on what i saw on google's search results,its quite likely that dbd::mysql had some problems while being installed. try uninstalling the modules you mentioned and installing them again
    here's a link to the download page :
    Download
    then untar/gz it and do:
    Tar zxvf Msql-Mysql-modules-1.2219.tar.gz
    Cd \Msql-Mysql-modules-1.2219
    perl Makefile.PL
    make
    make install