libcrypto yum 安装_解决在centos7.2下YUM安装nginx-1.12.2依赖的问题

本文介绍了在CentOS 7.2环境下,由于系统默认的OpenSSL版本过旧导致yum安装nginx-1.12.2时遇到libcrypto.so.10(OPENSSL_1.0.2)依赖问题的解决方案。通过手动下载并安装openssl-libs和openssl的新版本,成功解决了依赖问题,使得nginx能够正常安装。
摘要由CSDN通过智能技术生成

由于CENTOS7.2默认使用老版本的openssl(OpenSSL 1.0.1e) ,这个问题会导致yum nginx-1.12以上版本的时候会因为依赖libcrypto.so.10(OPENSSL_1.0.2)(64bit)的问题造成安装失败。

环境描述

如下:

系统版本检测

[root@z000w00~]# cat /etc/redhat-release

CentOS Linux release 7.2.1511 (Core)

openssl版本检测

[root@z00w00 ~]# openssl version

OpenSSL 1.0.1e-fips 11 Feb 2013

尝试YUM安装nginx

[root@z00w00~]# yum install nginx

Loaded plugins: fastestmirror

aliEpel | 3.2 kB 00:00:00

(1/3): aliEpel/7/x86_64/group_gz | 88 kB 00:00:00

(2/3): aliEpel/7/x86_64/updateinfo | 928 kB 00:00:00

(3/3): aliEpel/7/x86_64/primary | 3.5 MB 00:00:00

Loading mirror speeds from cached hostfile

aliEpel 12614/12614

Resolving Dependencies

--> Running transaction check

---> Package nginx.x86_64 1:1.12.2-2.el7 will be installed

--> Processing Dependency: nginx-filesystem = 1:1.12.2-2.el7 for package: 1:nginx-1.12.2-2.el7.x86_64

--> Processing Dependency: nginx-all-modules = 1:1.12.2-2.el7 for package: 1:nginx-1.12.2-2.el7.x86_64

--> Processing Dependency: nginx-filesystem for package: 1:nginx-1.12.2-2.el7.x86_64

--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.2)(64bit) for package: 1:nginx-1.12.2-2.el7.x86_64

--> Processing Dependency: libprofiler.so.0()(64bit) for package: 1:nginx-1.12.2-2.el7.x86_64

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值