![Centos安装exim 4.94依赖错误](https://linux22.com/image/226780/Centos%E5%AE%89%E8%A3%85exim%204.94%E4%BE%9D%E8%B5%96%E9%94%99%E8%AF%AF.png)
我正在尝试在 centos 上安装 exim 的特定版本...但日志如下所示。对我来说,这似乎是一个 openssl 问题,我检查了它,但它似乎已经安装了。
[root@vmi1522973 ~]# rpm -ivh exim-4.94-2.eln102.x86_64.rpm
error: Failed dependencies:
libc.so.6(GLIBC_2.28)(64bit) is needed by exim-4.94-2.eln102.x86_64
libcrypt.so.2()(64bit) is needed by exim-4.94-2.eln102.x86_64
libcrypt.so.2(XCRYPT_2.0)(64bit) is needed by exim-4.94-2.eln102.x86_64
libcrypto.so.1.1()(64bit) is needed by exim-4.94-2.eln102.x86_64
libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) is needed by exim-4.94-2.eln102.x86_64
libcrypto.so.1.1(OPENSSL_1_1_1)(64bit) is needed by exim-4.94-2.eln102.x86_64
libgsasl.so.7()(64bit) is needed by exim-4.94-2.eln102.x86_64
libgsasl.so.7(LIBGSASL_1.1)(64bit) is needed by exim-4.94-2.eln102.x86_64
libm.so.6(GLIBC_2.29)(64bit) is needed by exim-4.94-2.eln102.x86_64
libnsl.so.2()(64bit) is needed by exim-4.94-2.eln102.x86_64
libnsl.so.2(LIBNSL_1.0)(64bit) is needed by exim-4.94-2.eln102.x86_64
libopendmarc.so.2()(64bit) is needed by exim-4.94-2.eln102.x86_64
libperl.so.5.30()(64bit) is needed by exim-4.94-2.eln102.x86_64
libspf2.so.2()(64bit) is needed by exim-4.94-2.eln102.x86_64
libssl.so.1.1()(64bit) is needed by exim-4.94-2.eln102.x86_64
libssl.so.1.1(OPENSSL_1_1_0)(64bit) is needed by exim-4.94-2.eln102.x86_64
libssl.so.1.1(OPENSSL_1_1_1)(64bit) is needed by exim-4.94-2.eln102.x86_64
perl(:MODULE_COMPAT_5.30.3) is needed by exim-4.94-2.eln102.x86_64
rpmlib(PayloadIsZstd) <= 5.4.18-1 is needed by exim-4.94-2.eln102.x86_64
如何解决这些问题,尤其是 with 的问题rpmlib
?
答案1
您说您正在安装到 CentOS 7 上,但exim-4.94-2.eln102.x86_64.rpm
由于需要libc.so.6(GLIBC_2.28)(64bit)
.
libc
尝试将此软件包安装到 CentOS 8 上比尝试在 CentOS 7 计算机上升级要好得多。
查看了exim
CentOS 7 可用的软件包后,有exim-4.96.2-1.el7.x86_64.rpm
打包在 EPEL 存储库中。
启用 CentOS 7 的 EPEL 存储库 ( yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
) 后,您应该能够yum install exim
获取版本 4.96.2
如果您绝对必须安装 Exim 版本 4.94,那么您应该寻找一个软件包专为 CentOS 7 打造。