[Gllug] Odd shared library problem
Nix
nix at esperi.demon.co.uk
Tue Jun 26 23:22:42 UTC 2001
On Tue, 26 Jun 2001, gllug at accucard.com spake:
> 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)
Interesting.
> 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.
What does using `LD_DEBUG=files,libs /local/os/x86/linux/bin/angband'
say?
How does it differ from stracing that?
--
`This will immediately become a flamewar.' --- Mark Mitchell
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list