Link to home
Start Free TrialLog in
Avatar of accessint
accessint

asked on

error while loading shared libraries: libssl.so.4:

Let me preface my question by saying that I am relatively new to linux.
I recently installed a program that is failing to run because of the following error.  
 "error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory"
I believe that we are running Fedora Core 6.
I have searched the harddrive and found the following files which I assume are just newer versions of the same file:
./lib/libssl.so.6
./lib/libssl.so.0.9.8b
Would it be ok to create a link from /lib/libssl.so.4 to one of the files listed or would the different file versions cause my program to fail or become unstable?  If it is ok, which file would you link to?
Thanks,
Danny
Avatar of mglxxx
mglxxx

Generally speaking, it is not a good idea to make a program which is needing an older version of a shared library work by creating
a link to a newer version. Often the program will crash straight away or fail in certain situations.
If you've got access to the source of the failing program, I'd try rebuilding it using the newer version of the shared
library. Failing that, you try to get hold of the old version of the shared library and install that.
Avatar of accessint

ASKER

Unfortunately, it is a proprietary piece of software which we do not have the source for.  When you say, "try to get hold of the old version of the shared library and install that" does that mean that I could simply copying the file libssl.so.4 from a fedora core 4 machine into the same directory as the libssl.so.6? or is it more complicated than that?  
Thanks for your help.
ASKER CERTIFIED SOLUTION
Avatar of mglxxx
mglxxx

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial