This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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]

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


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


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