Reputation: 1
After compiling my code it is giving me the following error. I think it is giving me error on my use DBD::mysql
. I have recently installed that module on server (Centos 5). I am not that much used to of centos.
Can't load '/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBD/mysql/mysql.so' for module DBD::mysql: libssl.so.4: cannot open shared object file: No such file or directory at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 230.
at test_db.pl line 6
Compilation failed in require at test_db.pl line 6.
BEGIN failed--compilation aborted at test_db.pl line 6.
Upvotes: 0
Views: 880
Reputation: 798436
Remove whatever you installed to get DBD::mysql, and install the perl-DBD-MySQL
package from the CentOS base repository via yum.
Upvotes: 2