ld.so's LD_LIBRARY_PATH/LD_PRELOAD in mixed 32bit and 64bit environment

Mike Frysinger vapier@gentoo.org
Mon Aug 22 15:56:00 GMT 2011


On Monday, August 22, 2011 05:46:30 Alon Bar-Lev wrote:
> +              ld.so understands the strings $ORIGIN , $LIB and  $PLATFORM 

no space before the ","

> (or +              equivalently ${var}) in a LD_LIBRARY_PATH string.
> +
> +              LIB is expanded to lib or lib64 based on the architecture.
> +
> +              ORIGIN  is  expanded to the location of the binary which is
> cur‐ +              rently loaded.
> +
> +              PLATFORM is expanded to the running platform.

i think you need to doubly-clarify that you want to use a literal '$LIB' in 
the settings ...
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20110822/e29c0bdf/attachment.sig>


More information about the Libc-alpha mailing list