Hi!

I believe I had that same issue. Created a tiny trivial start script:

#!/bin/sh
# Needed to make symlinks/shortcuts work.
# the binaries must run with correct working directory
cd /workdir/games/savage
LD_LIBRARY_PATH=libs:$LD_LIBRARY_PATH ./savage.bin /workdir/games/savage
exit 0

Regards

spox

> 
Am Montag, den 25.04.2005, 22:09 +0100 schrieb Jose Moreira:
> hello i'm tring to play Savage on linux and have a problem with libpng.
> the binary was compiled with 1.2.5 and i have 1.2.8. I get:
> 
> -------------------------------------------------------------
> [EMAIL PROTECTED] Savage $ sh savage
> ./silverback.bin: /usr/lib/libGL.so.1: no version information available
> (required by ./silverback.bin)
> System_Init()
> PNG header and library versions do not match
> -------------------------------------------------------------
> 
> 'ldd' states:
> 
> -------------------------------------------------------------
> [EMAIL PROTECTED] Savage $ LD_LIBRARY_PATH=libs:$LD_LIBRARY_PATH  ldd
> silverback.bin
> ./silverback.bin: /usr/lib/libGL.so.1: no version information available
> (required by ./silverback.bin)
>         linux-gate.so.1 =>  (0xffffe000)
>         libSDL-1.2.so.0 => libs/libSDL-1.2.so.0 (0xb7f81000)
>         libpthread.so.0 => /lib/libpthread.so.0 (0xb7f15000)
>         libglib-2.0.so.0 => libs/libglib-2.0.so.0 (0xb7eb2000)
>         libGL.so.1 => /usr/lib/libGL.so.1 (0xb7e46000)
>         libGLU.so.1 => /usr/lib/libGLU.so.1 (0xb7dca000)
>         libXext.so.6 => /usr/lib/libXext.so.6 (0xb7dbc000)
>  >>>    libpng.so.3 => /usr/lib/libpng.so.3 (0xb7d8b000)
>         libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7d6d000)
>         libfreetype.so.6 => libs/libfreetype.so.6 (0xb7d2e000)
>         libz.so.1 => /lib/libz.so.1 (0xb7d1e000)
>         libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0xb7cee000)
>         libcurl.so.2 => libs/libcurl.so.2 (0xb7cc6000)
>         libc.so.6 => /lib/libc.so.6 (0xb7bb0000)
>         libm.so.6 => /lib/libm.so.6 (0xb7b8d000)
>         libdl.so.2 => /lib/libdl.so.2 (0xb7b89000)
>         libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0xb7a8b000)
>         libX11.so.6 => /usr/lib/libX11.so.6 (0xb79c0000)
>         /lib/ld-linux.so.2 (0xb7feb000)
>         libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xb79bb000)
>         libstdc++.so.5
> => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/libstdc++.so.5
> (0xb78fd000)
>         libgcc_s.so.1
> => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/libgcc_s.so.1
> (0xb78f4000)
>         libssl.so.0.9.6 => libs/libssl.so.0.9.6 (0xb78c7000)
>         libcrypto.so.0.9.6 => libs/libcrypto.so.0.9.6 (0xb7807000)
> -------------------------------------------------------------
> 
> it uses my system libpng instead of the libs one
> 
> [EMAIL PROTECTED] Savage $ ll libs
> total 4098
> -rwxr-xr-x  1 vice users   1420 Apr 25 21:52 a.out
> -rw-r--r--  1 vice users 332612 Apr 23 04:33 libSDL-1.2.so.0
> -rw-r--r--  1 vice users 771908 Apr 23 04:33 libcrypto.so.0.9.6
> -rwxr--r--  1 vice users 601408 Apr 23 04:34 libcurl.so.2
> -rw-r--r--  1 vice users 447676 Apr 23 04:33 libfmod-3.63.so
> -rwxr--r--  1 vice users 489564 Apr 23 04:34 libfmod.so
> -rw-r--r--  1 vice users 251480 Apr 23 04:33 libfreetype.so.6
> -rw-r--r--  1 vice users 406096 Apr 23 04:33 libglib-2.0.so.0
> -rw-r--r--  1 vice users   5908 Apr 23 04:33 libmd5.so.0
> -rw-r--r--  1 vice users 175132 Apr 23 04:33 libpng.so.2
> -rwxr-xr-x  1 vice users 212936 Apr 23 13:56 libpng12.so.0.1.2.5
> -rw-r--r--  1 vice users 182084 Apr 23 04:33 libssl.so.0.9.6
> -rw-r--r--  1 vice users 288540 Apr 23 04:33 libstdc++-libc6.2-2.so.3
> 
> 
> 
> 
> My system follows:
> 
> 
> 
> 
> 
> 
> 
-- 
Mit freundlichen Grüßen

Heinz Sporn

SPORN it-freelancing

Mobile: ++43 (0)699 / 127 827 07
Email:  [EMAIL PROTECTED]
        [EMAIL PROTECTED]
Snail:  Steyrer Str. 20
        A-4540 Bad Hall
        Austria / Europe

-- 
gentoo-user@gentoo.org mailing list

Reply via email to