From owner-freebsd-questions@FreeBSD.ORG Wed Feb 18 21:05:40 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C3A0F16A4CE for ; Wed, 18 Feb 2004 21:05:40 -0800 (PST) Received: from pd5mo3so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id B56CF43D1D for ; Wed, 18 Feb 2004 21:05:40 -0800 (PST) (envelope-from aardvark@saintaardvarkthecarpeted.com) Received: from pd2mr1so.prod.shaw.ca (pd2mr1so-ser.prod.shaw.ca [10.0.141.110])2003))freebsd-questions@freebsd.org; Wed, 18 Feb 2004 22:05:09 -0700 (MST) Received: from pn2ml5so.prod.shaw.ca (pn2ml5so-qfe0.prod.shaw.ca [10.0.121.149]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HTB00K7BFGLRF@l-daemon> for freebsd-questions@freebsd.org; Wed, 18 Feb 2004 22:05:09 -0700 (MST) Received: from francisco.saintaardvarkthecarpeted.com (h24-87-202-31.vc.shawcable.net [24.87.202.31]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0HTB0014BFGKIK@l-daemon> for freebsd-questions@freebsd.org; Wed, 18 Feb 2004 22:05:09 -0700 (MST) Received: from hardesty.hardesty.saintaardvarkthecarpeted.com (hardesty.saintaardvarkthecarpeted.com [192.168.23.1]) by francisco.saintaardvarkthecarpeted.com (8.12.10/8.12.8) with ESMTP id i1J56kAc036554; Wed, 18 Feb 2004 21:06:46 -0800 Received: from aardvark by hardesty.hardesty.saintaardvarkthecarpeted.com with local (Exim 3.36 #1 (Debian)) id 1AtgMG-00078a-00; Wed, 18 Feb 2004 21:04:20 -0800 Date: Wed, 18 Feb 2004 21:04:20 -0800 From: Saint Aardvark the Carpeted In-reply-to: Sender: Debian User To: Jesse Guardiani Message-id: <20040219050420.GB24309@hardesty.saintaardvarkthecarpeted.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.5.5.1+cvs20040105i References: cc: freebsd-questions@freebsd.org Subject: Re: linux binary equivalent to ldd? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2004 05:05:40 -0000 Jesse Guardiani disturbed my sleep to write: > How do I get info similar to what ldd gives out of a linux > binary? If I run this: > > /usr/compat/linux/usr/bin/ldd /usr/local/lib/RealPlayer8/rpnp.so > > I get this: > > /usr/compat/linux/usr/bin/ldd: /lib/ld-linux.so.2: not found > ldd: /lib/ld-linux.so.2 $exited with unknown exit code (127) > Exit 1 Hm...if you've got the Linux compatibility stuff, you should (I think) have this too. Try: locate ld-linux.so.2 On my system, it shows it as being a symlink to /usr/compat/linux/lib/ld-2.2.4.so. Assuming it shows up, try /compat/linux/sbin/ldconfig -p | grep ld-linux just to confirm that ldd really can't find it. If it's not listed, try running: /compat/linux/sbin/ldconfig to update the list of libraries it knows about. Usually that should be done at boot-time by the /etc/rc script -- have you got the right option set in /etc/rc.conf? (linux_enable="YES") Hope that helps, Hugh -- Saint Aardvark the Carpeted aardvark@saintaardvarkthecarpeted.com Because the plural of Anecdote is Myth.