From owner-freebsd-questions Thu Apr 19 8:15:16 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.metrocon.com (metrocon.com [198.143.64.100]) by hub.freebsd.org (Postfix) with ESMTP id E84D437B424 for ; Thu, 19 Apr 2001 08:15:13 -0700 (PDT) (envelope-from tzink@metrocon.com) Received: from office2.metrocon.com (access.metrocon.com [198.143.64.40]) by mail.metrocon.com (8.9.3/8.9.3) with ESMTP id LAA86067; Thu, 19 Apr 2001 11:15:06 -0400 (EDT) (envelope-from tzink@metrocon.com) Message-Id: <5.0.2.1.0.20010419112529.036641e0@mail.metrocon.com> X-Sender: tzink@mail.metrocon.com X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Thu, 19 Apr 2001 11:26:09 -0400 To: "Gerald T. Freymann" From: Terry Zink Subject: Re: Libraries and things a file is linked to? Cc: freebsd-questions@freebsd.org In-Reply-To: <025f01c0c8e2$967136e0$0f01a8c0@phantom> References: <20010419044300.88797.qmail@web11604.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I think he's looking for ldd binary not locate example "ldd bash" At 11:08 AM 4/19/01 -0400, you 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 Regards, Terry Zink Metrocon Communications Phone: (212) 661-6800 ext. 1553 Fax: (212) 661-1229 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message