openssl: error while loading shared libraries: libssl.so.3

M. L. picture M. L. · Jan 10, 2019 · Viewed 14.3k times · Source

it doesn't matter what I type in combination with 'openssl', I always get the following error message:

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

I have no idea how to fix that issue after reading many questions asked in this and in other forums.

Answer

M. L. picture M. L. · Feb 28, 2020

I solved it that time only by creating a symlink and rebuilding the ldconfig cache.

ln -s libssl.so.3 libssl.so
sudo ldconfig