[PATCH] Fix ld.so RUNPATH handling

Ulrich Drepper drepper@redhat.com
Wed Oct 31 20:44:00 GMT 2001


Jakub Jelinek <jakub@redhat.com> writes:

> DT_RUNPATH worked the same way as DT_RPATH, ie. it could not be overridden
> with LD_LIBRARY_PATH. Although the library could be found using
> LD_LIBRARY_PATH and was opened by ld.so, it called open_path once again and
> used the libs found through DT_RUNPATH.

You're right, I've applied the patch.  Slightly modified so that the
compiler should be able to make some more optimizations (in theory).

Thanks,

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------



More information about the Libc-hacker mailing list