编译openssl-1.1.0之后出现libssl.so.1.1: cannot open shared object file: No such file or directory
编译完成之后运行命令报错:
[root@localhost openssl-1.1.0f]# openssl version
openssl: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
解决方法:
[root@localhost openssl-1.1.0f]# echo "/usr/local/lib64" > /etc/ld.so.conf.d/openssl.conf
[root@localhost openssl-1.1.0f]# ldconfig