ld.so's LD_LIBRARY_PATH/LD_PRELOAD in mixed 32bit and 64bit environment
Alon Bar-Lev
alon.barlev@gmail.com
Mon Aug 22 11:54:00 GMT 2011
On Mon, Aug 22, 2011 at 4:02 AM, Mike Frysinger <vapier@gentoo.org> wrote:
> On Sunday, August 21, 2011 07:51:35 Alon Bar-Lev wrote:
>> In an environment where 32bit application forks 64bit application,
>> there can be no common LD_LIBRARY_PATH/LD_PRELOAD.
>
> try using $LIB. it should expand into "lib64" with 64bit libs for example.
> -mike
>
Thank you so much!
I missed this part in code.
Variables: ORIGIN, PLATFORM, LIB.
But there is no documentation for this, it should appear in ld.so(8).
I will prepare a patch for documentation.
Alon.
More information about the Libc-alpha
mailing list