参考编译opensslhttps://blog.csdn.net/qpeity/article/details/115296200
如需升级到openssl-1.1.1l, 参考文中编译openssl-1.1.1k即可。从openssl官网下载的源码没有SPEC,抄文中的即可。
编译 openssh-8.8p1.tar.gz:
中间出现找不到 libcrypto.so.1.0.0的时候,运行:
./config --prefix=/usr/ --shared
make
make test
make install
ln -sf /usr/local/openssl/bin/openssl /usr/bin/openssl
echo “/usr/local/ssl/lib” > /etc/ld.so.conf.d/openssl-1.1.1l.conf
ldconfig -v