Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Aug 1996 09:46:50 +0200 (MET DST)
From:      "Christoph P. Kukulies" <kuku@gilberto.physik.rwth-aachen.de>
To:        mcquiggi@sfu.ca (Kevin McQuiggin)
Cc:        questions@freebsd.org
Subject:   Re: Determining needed libraries for X
Message-ID:  <199608080746.JAA17215@gilberto.physik.rwth-aachen.de>
In-Reply-To: <199608080451.EAA18695@fraser.sfu.ca> from Kevin McQuiggin at "Aug 7, 96 09:51:35 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> Hi All:
> 
> I asked this question a couple of weeks ago, but have lost the answer
> to it. It's sort of a unix question, but as I'm involved in
> installing packages under X, it applies here as well.
> 
> When I install a new package, how can I determine which libraries
> will be required? Otherwise I get prompted one by one and have to
> locate/install them from the CD.
> 
> There's a simple utility/command that you run on the executable and
> it spits out just the names of the external libraries the program
> uses. 

Run ldd on the executable. This gives you a list of shared libs
and tells you whether the libs are found or not.

> 
> I've racked my brain (and looked for the little bit of paper that got
> lost) but can't recall it. It's NOT nm, which gives a ton of info.
> This command just spits out the needed libraries one per line. I do
> recall that it's a command/utility with one or two modifiers.
> 
> I'm going nuts! I can't remember it! Any help appreciated.
> 
> Kevin
> 
> -- 
> Kevin McQuiggin VE7ZD
> mcquiggi@sfu.ca
> 

--Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de



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