libssl.so.6: cannot open shared object file with Debian/CentOS

Actually, I found this error many times, while installing MySQL/Percona servers with MySQL Sandbox.

To resolve this issue, first, you have to make sure that, SSL is installed /update properly.

sudo apt-get update
sudo apt-get install libssl1.0.0 libssl-dev

After installing this you have to create appropriate link to make it work.

For 32 bit

cd /usr/lib/
sudo ln -s libssl.so.1.0.0 libssl.so.6
sudo ln -s libcrypto.so.1.0.0 libcrypto.so.6

For 64 bit:

cd /usr/lib/x86_64-linux-gnu
sudo ln -s libssl.so.1.0.0 libssl.so.6
sudo ln -s libcrypto.so.1.0.0 libcrypto.so.6

Normally this should work for CentOS and Debian too but If in Debian, it didn’t worked then do this.

sudo ln -s /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0 /usr/lib/libssl.so.6
sudo ln -s /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0 /usr/lib/libcrypto.so.6

I’m sure, it will work.

3 thoughts on “libssl.so.6: cannot open shared object file with Debian/CentOS

  1. I am beginner in Linux . while installing software on CENTOS on VMware , I also encounter this problem . following your instruction , i see that’s command is not found . can you help me??

Leave a Reply