From owner-freebsd-questions@FreeBSD.ORG Wed Apr 11 21:46:53 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4F9C1106564A for ; Wed, 11 Apr 2012 21:46:53 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id CD6C18FC0A for ; Wed, 11 Apr 2012 21:46:52 +0000 (UTC) Received: by wgbds12 with SMTP id ds12so1363621wgb.31 for ; Wed, 11 Apr 2012 14:46:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:x-mailer:mime-version:content-type :content-transfer-encoding; bh=ukzh6e0J2/vK3YKJ7Bge8qj0Eiw+t2wSQl5FIcx7o5o=; b=0qyODK3c2rOuUKepbOoXLkLw6t3G6eFvoTL/St2breP5dzHC+5LlbPK1azVWaggxE3 X626U39qDMyNw58zUO161HzvSxZOD8utrCkc589ZsYXE0q5eK9UoZX/7lVLt+8lY9qKt E+gXlTmK6ZgQK+W98Se+RIxbaebwcpQIVOIxLT23VKWoFFESOB87OwSr8w0FMOMB717e ILlDDLTUoQbJ0o5maFarekm8prkqcIQgzeB7jPy1N5H9lnAGXbXui8OoSO1PNzAa7LFC XBDQ4SkzuR3YALX41PRLm/TMo1+df8OrDk/qvBJO+R8TOW5onzKfg7Qm0lp9zQZInrOA lFog== Received: by 10.216.136.138 with SMTP id w10mr9774313wei.75.1334180811820; Wed, 11 Apr 2012 14:46:51 -0700 (PDT) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPS id j3sm13992835wiw.1.2012.04.11.14.46.49 (version=SSLv3 cipher=OTHER); Wed, 11 Apr 2012 14:46:50 -0700 (PDT) Date: Wed, 11 Apr 2012 22:46:48 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20120411224648.378f49ec@gumby.homeunix.com> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Subject: LD_TRACE_LOADED_OBJECTS and Linux binaries X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Apr 2012 21:46:53 -0000 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.