Friday 11 April 2014

ERROR: error while loading shared libraries: libssl.so.10

When I was trying to use the command "php -v",  I was getting the following error message:

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

Solution:
====
The server was 64 bit. The files libssl.so.10 and libcrypto.so.10 were missing from the location /usr/lib64/.

But libssl.so.0.9.8e and libcrypto.so.0.9.8e were available at /lib64/.

I created a symlink as follows and the issue fixed:

====
ln -s /lib64/libssl.so.0.9.8e /usr/lib64/libssl.so.10
ln -s /lib64/libcrypto.so.0.9.8e /usr/lib64/libcrypto.so.10
====

Kool :) It fixed the issue.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.