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

carlos at redhat dot com sourceware-bugzilla@sourceware.org
Wed Feb 14 19:48:00 GMT 2018


https://sourceware.org/bugzilla/show_bug.cgi?id=22747

--- Comment #6 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to H.J. Lu from comment #5)
> x86-64 also crashes.  DT_RPATH overrides --library-path.  ld.so already
> overrides DT_INTERP.  Shouldn't ld.so --library-path prepend DT_RPATH?

No. --library-path should behave like LD_LIBRARY_PATH IMO.

We could add a new option to override DT_RPATH, or DT_RUNPATH.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list