Rodrigo Barbosa wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wed, Mar 07, 2007 at 10:57:03PM -0600, Larry Vaden wrote:
libssl.so.4 was erased by accident and now, e.g., iinvoking wget results in:
wget: error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory [root@mail src]#
How does one go about restoring libssl.so.4?
libssl.so.4 is usually just a symlink. So if that was all you lost, it should be quite easy to recover:
cd /lib ln -s libssl.so.0.9.7a libssl.so.4
First check if you have libssl.so.0.9.7a inside /lib. libssl.so.4 should be a link from 0.9.7, and not 0.9.6.
If that's all that's necessary, fine. If it's harder than that, get the relevant rpm (install media or download), boot your rescue system (download the rescue CD image if necessary), and install with rpm. You will want --root, and probably some forcing options to persuade it to reinstall, but this really is the best way as it may fix other things that went wrong with your little accident.