LD_TRACE_LOADED_OBJECTS and Linux binaries
matthew at FreeBSD.org
Thu Apr 12 06:57:20 UTC 2012
On 11/04/2012 22:46, RW wrote:
> What's the explanation for this:
> $ ldd /usr/compat/linux/bin/pwd
> $ LD_TRACE_LOADED_OBJECTS=1 /usr/compat/linux/bin/pwd
> libc.so.6 => /lib/libc.so.6 (0x28076000)
> /lib/ld-linux.so.2 (0x28050000)
> From what I've read ldd works through setting LD_TRACE_LOADED_OBJECTS,
> and neither form should work on a linux binary.
You might find the audit trail in
There's a patch in there that makes the stock ldd(1) generate reasonable
output for Linux binaries, although it seems not to be getting much love
from anyone willing to commit it.
Dr Matthew J Seaman MA, D.Phil.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120412/55ec248a/signature.pgp
More information about the freebsd-questions