数据库
首页 > 数据库> > 报错mysql: error while loading shared libraries: libssl.so.10

报错mysql: error while loading shared libraries: libssl.so.10

作者:互联网

今天用centos8安装mysql8的过程中,提示报错mysql: error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory;

然后在网上寻找了很多方法,都是说openssl的版本不对,最新版本的openssl是1.1的版本,对应的是 libssl.so.1.1,网上很多都是去修改libssl.so的文章都无法解决问题,最后无意间安装了compat-openssl10-1.0.2o-3.el8.x86_64,问题就解决了,特此分享!

下载地址:https://centos.pkgs.org/8/centos-appstream-x86_64/compat-openssl10-1.0.2o-3.el8.x86_64.rpm.html

安装 compat-openssl10-1.0.2o-3.el8.x86_64.rpm

rpm -ivh compat-openssl10-1.0.2o-3.el8.x86_64.rpm

标签:compat,loading,1.0,x86,so.10,el8,64,报错,libssl
来源: https://blog.csdn.net/zhihuakc/article/details/120678834