1

I installed grads on UBUNTU 18.04.

When I tried to open grads, I got the following error:

grads: error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory

I already searched on the Web and did the following:

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

It did not work.

What can i do????

N0rbert
  • 103,263

1 Answers1

0

This might solve your problem

$ cd /lib/x86_64-linux-gnu
$ sudo ln -s libssl.so libssl.so.10
$ sudo ln -s libcrypto.so libcrypto.so.10

assuming you have the soft links libssl.so and libcrypto.so in /lib/x86_64-linux-gnu. If this doesn't work, take 5 minutes to read the following, understand it, and tinker a bit.

Note: Even if this works, it is strange that you got that message. The grads package should know its dependencies, and if you installed via apt as you say, you should not have any issue.


TL;DR

In Ubuntu (I have 20.04) there seems to be no libssl.so.10. From an old thread,

$ cd /lib/x86_64-linux-gnu
$ sudo ln -s libssl.so.1.0.0 libssl.so.10
$ sudo ln -s libcrypto.so.1.0.0 libcrypto.so.10

solved the problem. At this point, the versions may be higher. In my case

$ ll /usr/lib/x86_64-linux-gnu/libssl.so*
lrwxrwxrwx 1 root root   13 ago 23 14:02 /usr/lib/x86_64-linux-gnu/libssl.so -> libssl.so.1.1
-rw-r--r-- 1 root root 417K feb 26  2019 /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0
-rw-r--r-- 1 root root 585K ago 23 14:02 /usr/lib/x86_64-linux-gnu/libssl.so.1.1
$ ll /usr/lib/x86_64-linux-gnu/libcrypto.so*
lrwxrwxrwx 1 root root   16 ago 23 14:02 /usr/lib/x86_64-linux-gnu/libcrypto.so -> libcrypto.so.1.1
-rw-r--r-- 1 root root 2,3M feb 26  2019 /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
-rw-r--r-- 1 root root 2,9M ago 23 14:02 /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1

so I can link to versions 1.1 (surely could link also to 1.0.0), or to the respective soft links .so, which should take care of the version used. Most likely, this is handled by update-alternatives, or can be made so.