How to Solve Ssh: /Usr/Lib64/Libcrypto.So.10: No Version Information Available

Why does curl -V show a different OpenSSL library than ldd and curl-config?

Look at the curl -V output again and check the libcurl part in particular.

I'll cut away the rest for you to make it more obvious:

# /usr/local/bin/curl -V
curl 7.84.0 (x86_64-pc-linux-gnu) libcurl/7.64.0

curl 7.84.0, with libcurl 7.64.0

This tells you that when you invoke that 'curl' binary, it finds an older libcurl and not the one you built and probably intends for curl to use.

You have not configured your ld.so to find it in that path. You can edit /etc/ld.so.conf, set LD_LIBRARY_PATH or similar to fix it.

If you do edit ld.so.conf, remember to sudo ldconfig.

Ubuntu 22.04 | libssl.so.1.1: cannot open shared object file: No such file or directory

This fixes it (a problem with packaging in 22.04):

wget http://nz2.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.16_amd64.deb

sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2.16_amd64.deb

PS: If the link is expired, check http://nz2.archive.ubuntu.com/ubuntu/pool/main/o/openssl/?C=M;O=D for a valid one.

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

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

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

mysql: /usr/local/lib/libssl.so.1.1: version `OPENSSL_1_1_1' not found (required by mysql)

I have met the same problem, and I fixed it on my ubuntu18.04.

I had found the same file at the path="/usr/lib/x86_64-linux-gnu/libssl.so.1.1" on my computer.
I backup the file and copy the same file from the mentioned path.

sudo mv /usr/local/lib/libssl.so.1.1 /usr/local/lib/libssl.so.1.1.old
sudo cp /usr/lib/x86_64-linux-gnu/libssl.so.1.1 /usr/local/lib/

then it will get error fllows:

mysql: libcrypto.so.1.1: version `OPENSSL_1_1_1' not found (required by libssl.so.1.1)

and do the same work

sudo mv /usr/local/lib/libcrypto.so.1.1 /usr/local/lib/libcrypto.so.1.1.old
sudo cp /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 /usr/local/lib/

then the problem had been worked out.



Related Topics



Leave a reply



Submit