前提:我在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:

GitHub 加速计划 / de / Dependencies
42
2
下载
A rewrite of the old legacy software "depends.exe" in C# for Windows devs to troubleshoot dll load dependencies issues.
最近提交(Master分支:4 个月前 )
1997a400 - 4 年前
2f423539 - 4 年前
Logo

AtomGit 是由开放原子开源基金会联合 CSDN 等生态伙伴共同推出的新一代开源与人工智能协作平台。平台坚持“开放、中立、公益”的理念,把代码托管、模型共享、数据集托管、智能体开发体验和算力服务整合在一起,为开发者提供从开发、训练到部署的一站式体验。

更多推荐