On 06/18/2010 08:33 AM, Peter O'Gorman wrote:
On 06/18/2010 08:09 AM, Charles Wilson wrote:

Here's the key bit:

Searching for preloaded symbol table for last
vs
Searching for preloaded symbol table for /usr/bin/last

SO, before preopen:vmopen is called, somebody -- one of the other
loaders? -- modified 'filename' simply because /usr/bin/last.exe exists.
But I thought preopen was the very first loader.

Yes, the preopen loader gets tried first with last.a, it failed, then
find_handle is called which does an access() check for last in every dir
in path,

Correction for lack of coffee: not "PATH", but LTDL_LIBRARY_PATH, LD_LIBRARY_PATH (or whatever) and the standard library paths.

Peter

Reply via email to