首页 » LANMP » 正文

openssl-1.0.2h编译

openssl官网:https://www.openssl.org/

#openssl类库做软连接

或者

清空编译结果
#会把configure 后创建的makefile一并清除

tips:
#用来生成makefile

查看openssl版本

报错:
./openssl: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

解决办法:

This error and fix were received on Ubuntu 16.4 when attempting to run openssl from the command prompt.
This is caused either by broken link or an unsupported version of the library files in the shared folder.

Copy the library files libcrypto.so.1.1, libcrypto.a and libssl.so from /usr/local/lib to /usr/lib.

来源:https://github.com/openssl/openssl/issues/4170

发表评论

正在加载验证码......

请先完成验证