[CentOS] zlib error

Sat Feb 11 17:20:17 UTC 2006
Johnny Hughes <mailing-lists at hughesjr.com>

On Sat, 2006-02-11 at 16:51 +0000, Ian mu wrote:
> Hiya, just trying to install a game (warsow). 
>  
> Error received while running is " error while loading shared
> libraries: libz.so.1: cannot open shared object file: No such file or
> directory"
>  
> ldd wsw_server
>         linux-gate.so.1 =>  (0xffffe000)
>         libdl.so.2 => /lib/libdl.so.2 (0xf7ff2000)
>         libm.so.6 => /lib/tls/libm.so.6 (0xf7fcf000)
>         libc.so.6 => /lib/tls/libc.so.6 (0x004d6000) 
>         /lib/ld-linux.so.2 (0x004bd000)
>         libz.so.1 => not found
>  
> locate libz.so.1
> /usr/lib64/libz.so.1
> /usr/lib64/libz.so.1.2.1.2
>  
> Linux version 2.6.9-11.ELsmp (buildcentos at x8664-build) (gcc version
> 3.4.3 20050227 (Red Hat 3.4.3-22)) (dual xeon)
>  
> Think I'm missing something obvious (tried the export LD_LIBRARY_PATH
> to force it as well but no difference).
>  
> Any help greatly appreciated.
>  
> Ian

The problem is that the file was designed to run with a 32-bit
library ... you have a 64-bit libz.so.1

If it is really a 32-bit program, you will have to install the 32-bit
package and dependencies to get the 32-bit libz.so.1 installed ...

Another option is to recompile everything as 64 bit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20060211/b684e3e9/attachment-0005.sig>