【nginx】version `OPENSSL_1.0.2‘ not found

在部署某个系统时执行nginx的一个报错

[yyq@yyq sbin]$ ./nginx 
./nginx: /lib64/libcrypto.so.10: version `OPENSSL_1.0.2' not found (required by ./nginx)
[yyq@yyq sbin]$ 

解决方案其实很简单

 yum install -y openssl-devel

安装完其实就可以了
但这里遇到个问题,就是麻烦的竟然本地离线镜像缺文件,

Error downloading packages:
  libverto-devel-0.2.5-4.el7.x86_64: [Errno 256] No more mirrors to try.
  keyutils-libs-devel-1.5.8-3.el7.x86_64: [Errno 256] No more mirrors to try.

下载文件后上传
http://mirror.centos.org/centos/7/os/x86_64/Packages/keyutils-libs-devel-1.5.8-3.el7.x86_64.rpm
http://mirror.centos.org/centos/7/os/x86_64/Packages/libverto-devel-0.2.5-4.el7.x86_64.rpm

安装后再yum后就可以了

[root@vga25G2Byx004 idmp]# rpm -ivh keyutils-libs-devel-1.5.8-3.el7.x86_64.rpm 
Preparing...                          ################################# [100%]
Updating / installing...
   1:keyutils-libs-devel-1.5.8-3.el7  ################################# [100%]
[root@vga25G2Byx004 idmp]# rpm -ivh libverto-devel-0.2.5-4.el7.x86_64.rpm 
Preparing...                          ################################# [100%]
Updating / installing...
   1:libverto-devel-0.2.5-4.el7       ################################# [100%]
[root@vga25G2Byx004 idmp]# yum install -y openssl-devel

你可能感兴趣的:(实施工程师,nginx,centos,linux)