error: Failed dependencies libcrypto.so.10()(64bit) is needed, libssl.so.10()(64bit) is needed

在CentOS8上安装PerconaServerforMySQL8.0时,遇到依赖问题,因为新版本的openssl不包含libcrypto.so.10和libssl.so.10的模块名。解决方法是安装compat-openssl10或直接下载并安装对应的RPM包。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

前提:我在CentOS 8上安装Percona Server for MySQL 8.0 bundle中的percona-server-shared-compat-8.0.23-14.1.el8.x86_64.rpm包时 出现问题,即使安装了最新版本的openssl(version: 1:1.1.1g-15.el8_3)也无济于事

error:Failed Dependencies
        libcrypto.so.10()(64bit) is needed by percona-server-shared-compat-8.0.23-14.1.el8.x86_64.rpm
        libcrypto.so.10(libcrypto.so.10)(64bit) is needed by percona-server-shared-compat-8.0.23-14.1.el8.x86_64.rpm
        libssl.so.10()(64bit) is needed by percona-server-shared-compat-8.0.23-14.1.el8.x86_64.rpm
        libssl.so.10(libssl.so.10)(64bit) is needed by percona-server-shared-compat-8.0.23-14.1.el8.x86_64.rpm


过程 :google时发现库
https://pkgs.org/download/libcrypto.so.10()(64bit)

发现了compat-openssl10以及解释,大意为compat-openssl10只包含libraries,提供与不支持使用OpenSSL-1.1编译的早期版本和软件的兼容性。

The OpenSSL toolkit provides support for secure communications between machines. This version of OpenSSL package contains only the libraries and is provided for compatibility with previous releases and software that does not support compilation with OpenSSL-1.1.

从stackoverflow可以发现openssl提供了libcrypto.so.10却没有模块名,让系统以为缺少依赖

In your case, openssl seems to provide only libcrypto.so.10 without any module name, making geramer-server believe that dependency is missing as it requires libcrypto.so.10 from module libcrypto.so.10.

https://stackoverflow.com/questions/20518183/dependency-resolution-fails-on-installed-library

解决办法:

直接安装的话可能会报错,提示没有这个包

yum install compat-openssl10


或者

下载rpm包然后安装即可

wget install http://mirror.centos.org/centos/8-stream/AppStream/x86_64/os/Packages/compat-openssl10-1.0.2o-3.el8.x86_64.rpm

Result:

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值