apache安装&升级apache&openssl-Linux
2021-01-02 05:28
标签:clu usr ann zlib sha oca bss libc -o openssl versions mv /usr/bin/openssl /usr/bin/openssl.bak .crypto/comp/c_zlib.c:35:19: fatal error: zlib.h: No such file or directory ..openssl: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory https://cloud.tencent.com/developer/article/1027523 apache安装&升级apache&openssl-Linux 标签:clu usr ann zlib sha oca bss libc -o 原文地址:https://www.cnblogs.com/qtong/p/13671640.html升级 openssl
yum install -y zlib gcc-c++ gcc
wget https://www.openssl.org/source/openssl-1.1.1g.tar.gz && tar -zxvf openssl-1.1.1g.tar.gz
cd /openssl-1.1.1g
./config shared zlib
make && make install
mv /usr/include/openssl /usr/include/openssl.bak
ln -s /usr/local/ssl/bin/openssl /usr/bin/openssl
ln -s /usr/local/ssl/include/openssl /usr/include/openssl
echo “/usr/local/ssl/lib” >> /etc/ld.so.conf
ldconfig -v
openssl version问题
解决方法:
yum install -y zlib-devel
这是由于openssl库的位置不正确造成的。
解决方法:
在root用户下执行:
ln -s /usr/local/lib64/libssl.so.1.1 /usr/lib64/libssl.so.1.1
ln -s /usr/local/lib64/libcrypto.so.1.1 /usr/lib64/libcrypto.so.1.1
上一篇:Dva.js 入门级教学文档-2
文章标题:apache安装&升级apache&openssl-Linux
文章链接:http://soscw.com/essay/39510.html