libssl.so.1.0.0: cannot open shared object file:

(Everyday DevOps and Infrastructure – instead of keeping the knowledge insider of our organization let’s share it with the world)

We: – Today it will be a great day

The god of computers: – I don’t think so. Here is something for you

App 1558233 output: Error: The application encountered the following error: libssl.so.1.0.0: cannot open shared object file: No such file or
 directory - /usr/....path.../x86_64-linux/openssl.so (LoadError)

Why it happened?

We did

$ sudo apt get upgrade 
$ suod autoremove

Nothing of importance to see there and we went about with doing the autorremove. But it turns out autoremove has removed libssl. Why? I don’t know. I guess that because it has 1.1 it will automatically remove 1.0.0. But

How we fixed it?

# As we can see there is not libssl.so.1.0.0
kmitov@vpszap6s:/usr$ sudo find . -name libssl.so*
./lib/x86_64-linux-gnu/libssl.so
./lib/x86_64-linux-gnu/libssl.so.1.1

# So we install it
$ sudo apt-get install libssl1.0.0

# And now there is
$ sudo find . -name libssl.so*
./lib/x86_64-linux-gnu/libssl.so
./lib/x86_64-linux-gnu/libssl.so.1.0.0
./lib/x86_64-linux-gnu/libssl.so.1.1