From owner-freebsd-questions Thu Apr 19 9:13:28 2001 Delivered-To: freebsd-questions@freebsd.org Received: from MPI-Softtech.Com (mpi.mpi-softtech.com [208.60.120.177]) by hub.freebsd.org (Postfix) with ESMTP id A158937B423 for ; Thu, 19 Apr 2001 09:13:24 -0700 (PDT) (envelope-from dleimbac@MPI-Softtech.Com) Received: from mpi-plusplus.mpi-softtech.com (dleimbac@mpi-plusplus.mpi-softtech.com [208.60.120.164]); by MPI-Softtech.Com (8.9.3/8.9.3/MPI-Softtech/evision: 1.3 $) with ESMTP; id LAA29724; Thu, 19 Apr 2001 11:13:16 -0500 (CDT) Subject: Re: Libraries and things a file is linked to? From: Dave Leimbach To: Gerald "T." Freymann Cc: Holtor , questions@FreeBSD.ORG In-Reply-To: <025f01c0c8e2$967136e0$0f01a8c0@phantom> References: <20010419044300.88797.qmail@web11604.mail.yahoo.com> <025f01c0c8e2$967136e0$0f01a8c0@phantom> Content-Type: text/plain X-Mailer: Evolution/0.10+cvs.2001.04.16.08.00 (Preview Release) Date: 19 Apr 2001 11:14:57 -0500 Message-Id: <987696898.857.8.camel@mpi-plusplus.mpi-softtech.com> Mime-Version: 1.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Use ldd binary name. On 19 Apr 2001 11:08:27 -0400, Gerald T. Freymann wrote: > > I remember seeing a command that would show what > > files or libraries a certain binary is linked to. > > Um, that would simply be the "locate" command would it? > > For instance, > > locate libcrypto > > (which goes on and on on one of my production boxes) > > If your machine has been running for over a week, it would have rebuilt the > locate database for you already. But if you've been messing with the box, > you can manually rebuild the locate database with: > > /usr/libexec/locate.updatedb > > Hope that helps. > > -gf > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message