Skip site navigation (1)Skip section navigation (2)
Date:      19 Apr 2001 11:14:57 -0500
From:      Dave Leimbach <dleimbac@MPI-Softtech.Com>
To:        Gerald "T." Freymann <gerry@eagle.ca>
Cc:        Holtor <holtor@yahoo.com>, questions@FreeBSD.ORG
Subject:   Re: Libraries and things a file is linked to?
Message-ID:  <987696898.857.8.camel@mpi-plusplus.mpi-softtech.com>
In-Reply-To: <025f01c0c8e2$967136e0$0f01a8c0@phantom>
References:  <20010419044300.88797.qmail@web11604.mail.yahoo.com>  <025f01c0c8e2$967136e0$0f01a8c0@phantom>

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




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