[CentOS] libz.so.1 => not found

Tue Jan 31 13:03:28 UTC 2012
Dennis Jacobfeuerborn <dennisml at conversis.de>

On 01/31/2012 01:57 PM, Dvorkin, Asya wrote:
>
> On Jan 31, 2012, at 7:45 AM, Dennis Jacobfeuerborn wrote:
>
>> This is what things look like on one of my systems:
>>
>> [root at centos57 ~]# cat /etc/redhat-release
>> CentOS release 5.7 (Final)
>> [root at centos57 ~]# ls -l /usr/lib64/libz.so*
>> lrwxrwxrwx 1 root root 21 Jan 31 02:47 /usr/lib64/libz.so.1 ->
>> ../../lib64/libz.so.1
>> lrwxrwxrwx 1 root root 25 Jan 31 02:47 /usr/lib64/libz.so.1.2.3 ->
>> ../../lib64/libz.so.1.2.3
>> [root at centos57 ~]# ls -l /lib64/libz.so*
>> lrwxrwxrwx 1 root root    13 Jan 31 02:47 /lib64/libz.so.1 ->  libz.so.1.2.3
>> -rwxr-xr-x 1 root root 83280 May 11  2011 /lib64/libz.so.1.2.3
>>
>> If the symlink is missing you could try to manually recreate it.
>>
>> Regards,
>>    Dennis
>
> The problem is that the file itself is missing as well, so no way for me to recreate the link.  Actually, libz.1.so.1.2.3 doesn't exist either.
>
> I could try copying the file from another CentOS server, but wanted to hear everyone's opinion on that…

I'd say try that and as soon as you get yum/rpm working do a "yum reinstall 
zlib" to get the files properly in place again.

Regards,
   Dennis