Ubuntu – Error while loading shared libraries: libcrypto.so.1

shared libraryvmware

I just installed the latest Ubuntu 64 bit into my VMware. I am running a command and getting this error:

./ipsw: error while loading shared libraries: libcrypto.so.1: cannot open shared object file: No such file or directory

I did a quick search and found a few solution (i.e. install missing lib) and This one, however, I am on the newest version already, when trying to install them. What do I do?

ppp@ubuntu:~$ sudo apt-get install libxss1
[sudo] password for ppp: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libxss1 is already the newest version (1:1.2.2-1).
0 upgraded, 0 newly installed, 0 to remove and 74 not upgraded.
ppp@ubuntu:~$ sudo aptitude search libXss
sudo: aptitude: command not found
ppp@ubuntu:~$ 

Best Answer

The file libcrypto.so.1.0.0 is provided by a package called libssl1.0.0.

So to install that package which provides the file you need, run:

sudo apt install libssl1.0.0

However, it seems like your application expects it with a different name, libssl.so.1, which means we have to create a link for that, similar to the procedure here:

cd /lib/x86_64-linux-gnu
sudo ln -s libcrypto.so.1.0.0 libcrypto.so.1