1

我尝试通过yum安装mysql-community-libs出现以下错误:</p>

[root@liaghost ~]# rpm -ivh mysql-community-libs-8.0.19-1.el7.x86_64.rpm 
warning: mysql-community-libs-8.0.19-1.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
error: Failed dependencies:
    libcrypto.so.10()(64bit) is needed by mysql-community-libs-8.0.19-1.el7.x86_64
    libcrypto.so.10(libcrypto.so.10)(64bit) is needed by mysql-community-libs-8.0.19-1.el7.x86_64
    libssl.so.10()(64bit) is needed by mysql-community-libs-8.0.19-1.el7.x86_64
    libssl.so.10(libssl.so.10)(64bit) is needed by mysql-community-libs-8.0.19-1.el7.x86_64

然后查了一下,发现已经安装 了openssl :</p>

[root@liaghost yum.repos.d]# ls /usr/lib64/ | grep -e ssl.so -e crypto.so
libcrypto.so
libcrypto.so.1.1
libcrypto.so.1.1.1c
libk5crypto.so
libk5crypto.so.3
libk5crypto.so.3.1
libssl.so
libssl.so.1.1
libssl.so.1.1.1c
[root@liaghost yum.repos.d]# openssl version
OpenSSL 1.1.1c FIPS  28 May 2019

这是因为我安装了错误版本的openssl吗?

4

2 回答 2

1

建议您将兼容性包安装到旧版本的 openssl

dnf install compat-openssl10
于 2020-04-09T13:18:24.410 回答
0

看起来你安装openssl在 RPM/YUM/DNF 之外,所以它不知道你有它。从 RPM 重新安装它。

于 2020-01-17T21:55:24.757 回答