LD_TRACE_LOADED_OBJECTS and Linux binaries
RW
rwmaillists at googlemail.com
Wed Apr 11 21:46:53 UTC 2012
What's the explanation for this:
$ ldd /usr/compat/linux/bin/pwd
/usr/compat/linux/bin/pwd:
/tmp
$ 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.
More information about the freebsd-questions
mailing list