Comment 19 for bug 336468

Revision history for this message
In , Haubi-8 (haubi-8) wrote :

(In reply to comment #14)
> readelf -d /var/tmp/portage/sys-libs/ncurses-5.7/work/narrowc/progs/tic
> 0x00000001 (NEEDED) Shared library: [libncurses.so.5]
> 0x00000001 (NEEDED) Shared library: [libc.so.6]
> ldd /var/tmp/portage/sys-libs/ncurses-5.7/work/narrowc/progs/tic
> libncurses.so.5 => /lib/libncurses.so.5 (0xb7f91000)

> see how it grabs the host /lib/ncurses instead of the local one (even though
> that is what we were upgrading), the LD_LIBRARY_PATH flags did fix that

When there is no RPATH/RUNPATH at all, and LD_LIBRARY_PATH fixes it, then my problem (RPATH only) is different than yours...