From owner-freebsd-questions Thu Apr 8 23:48:18 1999 Delivered-To: freebsd-questions@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id 7E85214F6F for ; Thu, 8 Apr 1999 23:48:09 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id QAA24293; Fri, 9 Apr 1999 16:16:08 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id QAA28898; Fri, 9 Apr 1999 16:16:06 +0930 (CST) Message-ID: <19990409161605.P2142@lemis.com> Date: Fri, 9 Apr 1999 16:16:05 +0930 From: Greg Lehey To: flygt@sr.se, FreeBSD Questions Subject: Re: Finding what libs a program depends on References: <19990409082811.A79374@sr.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <19990409082811.A79374@sr.se>; from Gunnar Flygt on Fri, Apr 09, 1999 at 08:28:11AM +0200 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Friday, 9 April 1999 at 8:28:11 +0200, Gunnar Flygt wrote: > My memory is short, and I know it has been desvribed several times here, > but how can I find out what library dependensies a program has got? ldd: $ ldd /usr/local/bin/emacs /usr/local/bin/emacs: -lXaw.6 => /usr/X11R6/lib/aout/libXaw.so.6.1 (0x2011d000) -lXmu.6 => /usr/X11R6/lib/aout/libXmu.so.6.0 (0x20150000) -lXt.6 => /usr/X11R6/lib/aout/libXt.so.6.0 (0x2015f000) -lX11.6 => /usr/X11R6/lib/aout/libX11.so.6.1 (0x2019b000) -lSM.6 => /usr/X11R6/lib/aout/libSM.so.6.0 (0x2022b000) -lICE.6 => /usr/X11R6/lib/aout/libICE.so.6.3 (0x20233000) -lXext.6 => /usr/X11R6/lib/aout/libXext.so.6.3 (0x20244000) -lutil.2 => /usr/lib/aout/libutil.so.2.2 (0x2024d000) -ltermcap.2 => /usr/lib/aout/libtermcap.so.2.2 (0x20254000) -lgcc.261 => /usr/lib/aout/libgcc.so.261.0 (0x20258000) -lm.2 => /usr/lib/aout/libm.so.2.0 (0x2025c000) -lc.3 => /usr/lib/aout/libc.so.3.1 (0x20276000) Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message