编译我的代码后,它给我以下错误。我想它是在我的 use DBD::mysql
. 我最近安装了该模块的服务器(Centos 5)。我对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.
移除你安装的任何东西以获得DBD::mysql,并安装在你的服务器上。perl-DBD-MySQL
通过yum从CentOS基础仓库中获取的软件包。