I am trying to run an executable that makes use of the libcrypto and libsll libraries. When I run the executable I get the following error
PROGRAM: error while loading shared libraries: libcrypto.so.10: cannot open shared object file: No such file or directory
I understand that the above message is because the executable cannot find the associated library. The system has both pairs of libraries included in "/usr/lib/x86_64-linux-gnu", which I installed using the synaptic package manager. I have tried to generate the symbolic links
ln -s /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0 /usr/lib/x86_64-linux-gnu/libcrypto.so.10
ln -s /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 /usr/lib/x86_64-linux-gnu/libcrypto.so.10
ln -s /usr/lib/x86_64-linux-gnu/libcrypto.so /usr/lib/x86_64-linux-gnu/libcrypto.so.10
but in all these cases I get the following error message:
PROGRAM: /usr/lib/x86_64-linux-gnu/libcrypto.so.10: version `libcrypto.so.10' not found (required by PROGRAM)
I am currently using Ubuntu 20.0, and the executable I am trying to use was compiled for RHEL 6.6. My question is: Should I install RHEL (or centOS) to be able to use that executable?, or, the error is due to the fact that I am using the wrong version of the libraries.
Asked by josejc
(21 rep)
Nov 6, 2021, 08:24 PM
Last activity: Jul 31, 2025, 01:02 PM
Last activity: Jul 31, 2025, 01:02 PM