Re: [patch] Fixed occasional failure to load a custom shared library

Daniel Jacobowitz
2006-10-10T00:00:27Z

On Tue, Oct 10, 2006 at 12:50:42AM +0200, Jan Kratochvil wrote:
> If you would use `-Wl,-rpath,$ORIGIN' or relative pathname for $LD_LIBRARY_PATH.
> The latter case was testcased in:
> http://sourceware.org/ml/gdb-patches/2006-09/msg00009.html

In my glibc, setting LD_LIBRARY_PATH to a relative path makes no
difference. Things get canonicalized anyway. I also tried with
$ORIGIN. I wonder if the Fedora glibc behaves differently in this
respect.

--
Daniel Jacobowitz
CodeSourcery