首页 > 其他分享> > error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file ...
error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file ...
作者:互联网
在安装nginx时(nginx是在Centos 7.6 下编译的,将编译的二进制文件复制到CentOS 8.0下),启动nginx,出现 如下错误
error while loading shared libraries: libssl.so.10: cannot open shared object file ...
原因:缺少 libssl.so.10 库文件
用 yum install openssl 无法解决这个问题。
用以下方法解决了这个问题
一、下载 Openssl 的rpm包
wget http://mirror.centos.org/centos/8/AppStream/x86_64/os/Packages/compat-openssl10-1.0.2o-3.el8.x86_64.rpm
二、执行rpm包安装
rpm -i compat-openssl10-1.0.2o-3.el8.x86_64.rpm
问题得到解决!
标签:...,x86,so.10,file,shared,rpm,libssl 来源: https://blog.csdn.net/ababab12345/article/details/122010737