openSSL 1.0.2 在 CentOS 5.11 上运行时遇到问题

openSSL 1.0.2 在 CentOS 5.11 上运行时遇到问题

我的办公室有一些旧的 REHL 5.11 服务器,我需要更新 openSSL 以利用最新的 TLS 版本。为了解决这个问题,我创建了一个 CentOS 5.11 虚拟服务器。

我找到了这个指南:https://miteshshah.github.io/linux/centos/how-to-enable-openssl-1-0-2-a-tlsv1-1-and-tlsv1-2-on-centos-5-and-rhel5/

不幸的是,在执行所有步骤后,我收到此错误:

curl: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory

答案1

该错误表明该程序无法找到该库libssl.so.1.0.0

为了使程序能够找到共享库,其位置必须在LD_LIBRARY_PATH环境变量中列出。

将包含目录的路径包含libssl.so.1.0.0在上述环境变量中,任何软件都可以加载它。

相关内容