PCZero

Well-Known Member
Dec 13, 2003
695
85
178
Earth
I have (and have had for some time) several perl .cgi scripts that I call via cron jobs to update/clear/reset some of my MySQL tables. Starting a few weeks ago, all of these scripts are failing. All of these scripts begin with the same lines of code...

----------------------------
#!/usr/bin/perl

use DBI;

my $dbh = DBI->connect("DBI:mysql:_DATABASE_", "_USER_", "_PASSWORD_");
----------------------------


The error message I get is as follows...

----------------------------
install_driver(mysql) failed: Can't load '/usr/local/lib64/perl5/auto/DBD/mysql/mysql.so' for module DBD::mysql: libmysqlclient.so.16: cannot open shared object file: No such file or directory at /usr/lib64/perl5/DynaLoader.pm line 200.
at (eval 3) line 3
Compilation failed in require at (eval 3) line 3.
Perhaps a required shared library or dll isn't installed where expected at /home/foo/public_html/cgi-bin/bar.cgi line 5
----------------------------


I am having a severe brain fart right now. Someone please tell me what I need to install or what script I need to run to fix this...
 

PCZero

Well-Known Member
Dec 13, 2003
695
85
178
Earth
Well instead of answering the previous question you can answer the following one...

Why is it that within 30 seconds of posting a question my brain wakes up and I remember the solution that I was looking for?