This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug dynamic-link/22747] ld.so --library-path doesn't always work
- From: "joseph at codesourcery dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 25 Jan 2018 21:01:17 +0000
- Subject: [Bug dynamic-link/22747] ld.so --library-path doesn't always work
- Auto-submitted: auto-generated
- References: <bug-22747-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=22747
--- Comment #2 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
Only DT_RPATH should take precedence over LD_LIBRARY_PATH, not DT_RUNPATH.
(So unless --enable-hardcoded-path-in-tests is made to use
--enable-new-dtags, and I don't know if that would be a good idea or
not[*], it's incompatible with running an old glibc's test binaries
against a new glibc - and if that change were made, of course it would
only help if the old glibc postdated that change.)
[*] I don't know if any tests, using --enable-hardcoded-path-in-tests,
rely on the executable's RPATH being used to find indirect shared library
dependencies, which only works with RPATH not RUNPATH.
--
You are receiving this mail because:
You are on the CC list for the bug.