Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Apr 2001 11:26:09 -0400
From:      Terry Zink <tzink@metrocon.com>
To:        "Gerald T. Freymann" <gerry@eagle.ca>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Libraries and things a file is linked to?
Message-ID:  <5.0.2.1.0.20010419112529.036641e0@mail.metrocon.com>
In-Reply-To: <025f01c0c8e2$967136e0$0f01a8c0@phantom>
References:  <20010419044300.88797.qmail@web11604.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.0.2.1.0.20010419112529.036641e0>