List:General Discussion« Previous MessageNext Message »
From:Michael Widenius Date:September 22 1999 7:18pm
Subject:Something got broke with MySQL
View as plain text  
>>>>> "Tosh" == Tosh Cooey <tosh@stripped> writes:

Tosh> Hi, we just had a server crash and it seems that something got cacked
Tosh> up.  Here's the report from perl -d

>> install_driver(mysql) failed: Can't load
>> '/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/DBD/mysql/mysql.so'
>> for module DBD::mysql: Can't find shared library "libmysqlclient.so.6.0"
>> at /usr/local/lib/perl5/5.00503/i386-freebsd/DynaLoader.pm line 169.
>> 
>> at (eval 8) line 3
>> Carp::croak('Can\'t load
>> \'/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/...') called at
>> /usr/local/lib/perl5/5.00503/i386-freebsd/DynaLoader.pm line 93
>> DynaLoader::croak('Can\'t load
>> \'/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/...') called at
>> /usr/local/lib/perl5/5.00503/i386-freebsd/DynaLoader.pm line 169
>> DynaLoader::bootstrap('DBD::mysql', 2.0406) called at
>> /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/DBD/mysql.pm line 21
>> require DBD/mysql.pm called at (eval 8) line 3
>> eval 'package DBI::_firesafe; require DBD::mysql
>> ;' called at /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/DBI.pm
>> line 451
>> DBI::install_driver('DBI', 'mysql') called at
>> /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/DBI.pm line 376
>> DBI::connect('DBI', 'DBI:mysql:PLUS8') called at +8.cgi line 221
>> main::newItems called at +8.cgi line 12
>> eval 'package DBI::_firesafe; require DBD::mysql
>> ;' called at /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/DBI.pm
>> line 451
>> DBI::install_driver('DBI', 'mysql') called at
>> /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/DBI.pm line 376
>> DBI::connect('DBI', 'DBI:mysql:PLUS8') called at +8.cgi line 221
>> main::newItems called at +8.cgi line 12
>> 
>> at +8.cgi line 221
>> Carp::croak('install_driver(mysql) failed: Can\'t load
>> \'/usr/local/lib/perl5...') called at
>> /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/DBI.pm line 469
>> DBI::install_driver('DBI', 'mysql') called at
>> /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/DBI.pm line 376
>> DBI::connect('DBI', 'DBI:mysql:PLUS8') called at +8.cgi line 221
>> main::newItems called at +8.cgi line 12

Tosh> So it's trying to find things that are there, but can't, and I'd just
Tosh> like to do a complete reinstall of the PERL modules for MySQL, but when
Tosh> I try to 'make install' the DBI module it doesn't reinstall because the
Tosh> latest module is already there.  How do I overwrite this and get my libs
Tosh> reinstalled.

You should always be able to do a new install;  As you didn't provide
the error from the installations, I can comment on why it didn't work :(

Anyway; you can fix the above by copying libmysqlclient.so.6.0 to /lib 
and run 'ldconfig'. Another option is to add the path to where you
have libmysqlclient.so to /etc/ld.so.conf.  You can get more details
with man 'ldconfig'.

Yours,
Monty

*************** Warning commercial signature follows **********
If you like TCX's concept of a 'mostly free' database and free
advice, you should at least CONSIDER supporting us, so that we can
afford to continue this service up.   http://www.mysql.com/
Thread
Something got broke with MySQLTosh Cooey22 Sep
  • Re: Something got broke with MySQL(Steven Fletcher)22 Sep
  • Something got broke with MySQLMichael Widenius22 Sep