[CentOS] recovery from loss of libssl.so.4?

John Summerfield debian at herakles.homelinux.org
Fri Mar 9 07:16:40 UTC 2007

Rodrigo Barbosa wrote:
> 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 at 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.



-- spambait
1aaaaaaa at coco.merseine.nu  Z1aaaaaaa at coco.merseine.nu

Please do not reply off-list

More information about the CentOS mailing list