Re: forestalling GNU incompatibility - proposal for binary relative dynamic linking

From: Richard Henderson
Date: Mon Jan 24 2005 - 19:01:54 EST


On Mon, Jan 24, 2005 at 02:24:49PM -0800, Edward Peschko wrote:
> What I'd like to do is be able to set up my LD_LIBRARY_PATH
> so that I can reference it from the point of view of the
> *executable*:
>
> setenv LD_LIBRARY_PATH "*/../lib:....."
>
> Here, read "* == full path of dirname of executable".

See -Wl,-rpath,'$ORIGIN/../lib/'


r~
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/