Hi,
Whenever I try to connect to MySQL database from a sample perl script, I get the below error. But the DBI and DBD::MySQL modules are already installed in my CPanel.
install_driver(mysql) failed: Can't load '/usr/local/lib/perl5/site_perl/5.8.8/i686-linux/auto/DBD/mysql/mysql.so' for module DBD::mysql: libmysqlclient.so.15: cannot open shared object file: No such file or directory at /usr/local/lib/perl5/5.8.8/i686-linux/XSLoader.pm line 68.
at /usr/local/lib/perl5/site_perl/5.8.8/i686-linux/DBD/mysql.pm line 15.
Compilation failed in require at (eval 8) line 3.
Perhaps a required shared library or dll isn't installed where expected
at test.pl line 14.
Can anyone help me?
Whenever I try to connect to MySQL database from a sample perl script, I get the below error. But the DBI and DBD::MySQL modules are already installed in my CPanel.
install_driver(mysql) failed: Can't load '/usr/local/lib/perl5/site_perl/5.8.8/i686-linux/auto/DBD/mysql/mysql.so' for module DBD::mysql: libmysqlclient.so.15: cannot open shared object file: No such file or directory at /usr/local/lib/perl5/5.8.8/i686-linux/XSLoader.pm line 68.
at /usr/local/lib/perl5/site_perl/5.8.8/i686-linux/DBD/mysql.pm line 15.
Compilation failed in require at (eval 8) line 3.
Perhaps a required shared library or dll isn't installed where expected
at test.pl line 14.
Can anyone help me?