This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RPATH overriding


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   `------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]