Ah thanks a lot, that makes perfect sense...
Grabbed the RPM direct as was getting "public key not available for zlib-1.2.1.2-1.2.i386.rpm" when trying with yum, so is working now.
Thanks again all.
Ian
On 2/11/06, Johnny Hughes <mailing-lists@hughesjr.com> wrote:
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@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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQBD7hzRTKkMgmrBY7MRAhK5AJ9ut6M9QH3o3/jVBhTPKOXNJycD7ACgij69
cDtocUd1sTtGo1tf6HiVDLQ=
=M/8O
-----END PGP SIGNATURE-----
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos