Here's what I tried:

wget https://www.openssl.org/source/openssl-3.3.0.tar.gz
tar xvzf openssl-3.3.0.tar.gz
cd openssl-3.3.0
make install

When I type in openssl version after that I get this:

openssl: error while loading shared libraries: libssl.so.3: cannot open shared object file: No such file or directory

I didn't see any errors during any of the above steps.

Any ideas?

1 Answer 1


There is a detailed description of this problem in the files NOTES-UNIX.md which came with your OpenSSL download. See the section "Shared libraries and installation in non-default locations":


In short the simplest solution is to add '-Wl,-rpath,$(LIBRPATH)' (for Linux type platforms) onto your config command line. See the above file for other platform variants. If reusing the same download location be sure to make clean first:

make clean
./config '-Wl,-rpath,$(LIBRPATH)'
make install

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .