openssldebianlibssl

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


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.


Solution

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

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