From owner-freebsd-questions Thu Aug 17 5:47:12 2000 Delivered-To: freebsd-questions@freebsd.org Received: from draenor.org (draenor.org [196.36.119.129]) by hub.freebsd.org (Postfix) with ESMTP id 779AE37B616 for ; Thu, 17 Aug 2000 05:47:07 -0700 (PDT) Received: from marcs by draenor.org with local (Exim 3.16 #1) id 13POzG-00008i-00; Thu, 17 Aug 2000 14:41:34 +0200 Date: Thu, 17 Aug 2000 14:41:34 +0200 From: Marc Silver To: Carlos A M dos Santos Cc: FreeBSD questions list Subject: Re: ldd and BSDI binaries Message-ID: <20000817144134.A295@draenor.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from casantos@cpmet.ufpel.tche.br on Thu, Aug 17, 2000 at 12:32:40PM +0000 X-Operating-System: FreeBSD 4.1-STABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi there, Take this for example: ldd /bin/sh ldd: /bin/sh: not a dynamic executable file /bin/sh /bin/sh: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, stripped This means that the file is staticly compiled and doesn't need to make reference to any libraries. It therefore doesn't require those libraries at run time, as opposed to dynamically compiled programs which do. The most common use is for critical programs (like /bin/sh) so that they can be used even in the even of all your libraries being corrupted. Cheers, Marc On Thu, Aug 17, 2000 at 12:32:40PM +0000, Carlos A M dos Santos wrote: > > Hello > > I'm using the BSDI version of Netscape communicator in FreeBSD 4.1. > Although it runs very well, I could not figure out which libraries the > program uses because ldd rplies that it is "not a dynamic executable". > > What is the magic here? > > TIA > > -- > Carlos A. M. dos Santos > > Federal University of Pelotas Meteorological Research Center > Av. Ildefonso Simoes Lopes 2791 Pelotas, RS, Brasil, CEP 96060-290 > WWW: http://www.cpmet.ufpel.tche.br RENPAC (X.25): 153231641 > Phone: +55 53 277-6767 FAX: +55 53 277-6722 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message