This is the mail archive of the glibc-bugs@sourceware.org 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]
Other format: [Raw text]

[Bug dynamic-link/22747] ld.so --library-path doesn't always work


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.

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