Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Apr 2012 22:46:48 +0100
From:      RW <rwmaillists@googlemail.com>
To:        freebsd-questions@freebsd.org
Subject:   LD_TRACE_LOADED_OBJECTS and Linux binaries
Message-ID:  <20120411224648.378f49ec@gumby.homeunix.com>

next in thread | raw e-mail | index | archive | help

What's the explanation for this:


  $ ldd /usr/compat/linux/bin/pwd
  /usr/compat/linux/bin/pwd:
  /tmp

  $ LD_TRACE_LOADED_OBJECTS=3D1  /usr/compat/linux/bin/pwd
	  libc.so.6 =3D> /lib/libc.so.6 (0x28076000)
	  /lib/ld-linux.so.2 (0x28050000)

=46rom what I've read ldd works through setting LD_TRACE_LOADED_OBJECTS,
and neither form should work on a linux binary.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120411224648.378f49ec>