Perl : 编译时出错,libssl.so.4无法打开共享对象。

问题描述 投票:0回答:1

编译我的代码后,它给我以下错误。我想它是在我的 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.
linux perl centos
1个回答
2
投票

移除你安装的任何东西以获得DBD::mysql,并安装在你的服务器上。perl-DBD-MySQL 通过yum从CentOS基础仓库中获取的软件包。

© www.soinside.com 2019 - 2024. All rights reserved.