On Mon, Apr 23, 2012 at 11:01 PM, Nathan Kurz <[email protected]> wrote: > I'll try to write to him (Wienand) and see if he can clarify or fix > the text. Both bottomupcs.com and his blog at technovelty.org seem to > have a lot of useful information.
Got a very quick and polite response from Ian Wienand, confirming that LD_PRELOAD does indeed go at the front of the list, and that the first occurrence is preferred. He offered this link to the source for details: http://repo.or.cz/w/glibc.git/blob/HEAD:/elf/rtld.c#l1696 His response did make me wonder about another question: are we concerned with loading extensions at runtime (after startup) through dlopen() type mechanisms, or do we expect all extensions to be available at compile time? --nate
