如何手动安装libcrypto.so.10和libssl.so.10这两个库?

安装zabbix-agent2的时候发生报错信息

Error:

Problem: 冲突的请求

  • 没有提供 libcrypto.so.10()(64bit) 所需要的 zabbix-agent2-5.0.42-1.el7.x86_64
  • 没有提供 libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit) 所需要的 zabbix-agent2-5.0.42-1.el7.x86_64
  • 没有提供 libcrypto.so.10(OPENSSL_1.0.2)(64bit) 所需要的 zabbix-agent2-5.0.42-1.el7.x86_64
  • 没有提供 libcrypto.so.10(libcrypto.so.10)(64bit) 所需要的 zabbix-agent2-5.0.42-1.el7.x86_64
  • 没有提供 libssl.so.10()(64bit) 所需要的 zabbix-agent2-5.0.42-1.el7.x86_64
  • 没有提供 libssl.so.10(libssl.so.10)(64bit) 所需要的 zabbix-agent2-5.0.42-1.el7.x86_64

原来是缺乏libcrypto.so.10和libssl.so.10这两个库。

1,查看一下本机有没有这两个库

bash 复制代码
ll /usr/lib64/libcrypto.so.10
bash 复制代码
ll /usr/lib64/libssl.so.10

有的linux版本的机器他是把库都是放在/usr/lib里面

2,发现没有这个库,可以选择自动安装

bash 复制代码
yum install open-ssl -y

3,下载安装包,手动安装

有的人的机器是离线状态的,无法接触外网,所以只能手动下载好安装包,再把安装包拷贝到机器上去进行手动安装

下载地址是

二进制包 https://repo.almalinux.org/almalinux/8/AppStream/x86_64/os/Packages/compat-openssl10-1.0.2o-4.el8_6.x86_64.rpm
源码包 https://repo.almalinux.org/vault/8/AppStream/Source/Packages/compat-openssl10-1.0.2o-4.el8_6.src.rpm
镜像 repo.almalinux.org

我推荐下载二进制包

然后把包放在系统中,进行手动安装

bash 复制代码
yum install compat-openssl10-1.0.2o-4.el8_6.x86_64.rpm -y

然后报错信息就没有了

相关推荐
Lsetea1 天前
SSL证书指纹相同但文件哈希不同:PEM、DER与公钥摘要怎么比
运维·https·ssl证书·openssl·证书链
Lsetea2 天前
OpenSSL指定-cipher仍协商TLS1.3:证书排查中的套件与协议边界
运维·https·ssl证书·openssl·tls
Lsetea4 天前
curl设置SSL_CERT_FILE仍报60:CURL_CA_BUNDLE与CA路径优先级排查
linux·https·ssl证书·openssl·curl
Lsetea5 天前
OpenSSL报certificate rejected:error 28与CA辅助信任属性排查
linux·https·ssl证书·openssl·证书链
Lsetea6 天前
OpenSSL报certificate revoked:error 23与CRL吊销层级排查
linux·https·ssl证书·openssl·crl
Lsetea6 天前
OpenSSL报certificate chain too long:error 22与verify_depth深度排查
linux·https·ssl证书·openssl·证书链
Lsetea8 天前
OpenSSL读取加密私钥报bad decrypt:passin与口令来源排查
linux·https·ssl证书·openssl·私钥
Lsetea8 天前
OpenSSL报CA signature digest algorithm too weak:error 68与签名摘要排查
https·ssl证书·openssl·签名算法·证书链
Lsetea8 天前
curl报91 No OCSP response received:cert-status与OCSP装订排查
https·ssl证书·openssl·curl·ocsp