Answer the question
In order to leave comments, you need to log in
Openssl won't start without full path, why?
I inherited a machine with centos 6.9, everything is generally good, but one problem with openssl is slightly annoying. If you run it in the console, openssl version
you will see an error in the output:
openssl: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
/usr/bin/openssl version
or like this, /usr/local/ssl/bin/openssl version
then everything works fine and shows the version of OpenSSL 1.0.2o 27 Mar 2018. find / -iname 'libssl*'
gives:/opt/openssl/lib/pkgconfig/libssl.pc
/opt/openssl/lib/libssl.a
/opt/openssl/lib/libssl.so.1.1
/opt/openssl/lib/libssl.so
/usr/lib64/pkgconfig/libssl.pc
/usr/lib64/libssl.so.10
/usr/lib64/libssl.so.1.0.1e
/usr/lib64/libssl3.so
/usr/lib64/libssl.so
/usr/src/openssl-1.0.2o/libssl.a
/usr/src/openssl-1.0.2o/libssl.pc
/usr/local/lib64/pkgconfig/libssl.pc
/usr/local/lib64/libssl.a
/usr/local/lib64/libssl.so.1.1
/usr/local/lib64/libssl.so
/usr/local/ssl/lib/pkgconfig/libssl.pc
/usr/local/ssl/lib/libssl.a
Answer the question
In order to leave comments, you need to log in
Question closed, copied /usr/local/lib64/libssl.so.1.1 and /usr/local/lib64/libcrypto.so.1.1 to /usr/lib64/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question