This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
RPATH overriding
- To: GNU libc hacker <libc-hacker@cygnus.com>
- Subject: RPATH overriding
- From: Ulrich Drepper <drepper@cygnus.com>
- Date: 18 May 1998 15:34:10 -0700
- Reply-To: drepper@cygnus.com (Ulrich Drepper)
Hi,
iconv modules like ISO-2022-KR use the lib*.so files in the gconv
subdir. For this we use RPATH in the shared objects which is the
right solution.
But during the `make check' run this makes problems since now the
implicit DT_NEEDED in the iconv modules cause the already installed
libs to be used, instead of the ones we just compiled.
There are several methods to solve this problem:
- let the user specify a blacklist
LD_BLACKLIST=/usr/lib/gconv/libKSC.so:/usr/lib/gconv/libJIS.so
and ld.so will not use these files
- we could preload the objects in the `make check' run and so fool ld.so.
- general option to disable the user of RPATHs
- like last, but disable RPATH use only for named objects
Anybody having more possibilities? Any preferences?
-- Uli
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------