[Gllug] Odd shared library problem
gllug at accucard.com
gllug at accucard.com
Tue Jun 26 11:03:14 UTC 2001
I've upgraded my machines from RH6 to RH7, and some of my old binaries
no longer run because of dependencies on older shared libraries. No
problem, I thought -- I'll just install the old libraries in a convenient
location, set a suitable LD_LIBRARY_PATH, and everything will be OK.
Except it isn't. Furthermore, I can't explain *why* it isn't, and in
particular, I don't understand the following:
leto:~% ldd /local/os/x86/linux/bin/angband
libncurses.so.4 => not found
libtermcap.so.2 => /lib/libtermcap.so.2 (0x40027000)
libc.so.6 => /lib/i686/libc.so.6 (0x4002b000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
leto:~% strace -f -o /dev/null ldd /local/os/x86/linux/bin/angband 2>/dev/null
libncurses.so.4 => /local/os/x86/linux/lib/libncurses.so.4 (0x40018000)
libtermcap.so.2 => /lib/libtermcap.so.2 (0x40069000)
libc.so.6 => /lib/i686/libc.so.6 (0x4006d000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
Can anyone explain why libncurses is found if I'm tracing ldd, but not
if I'm just running it normally? I'm running 2.4.4 on a UP x86 box.
Tet
PS. Yes, I know I can just recompile angband, but I also have a few others
(such as WordPerfect) for which I don't have the source.
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list