Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: "D. Sean Davidson" <davidson@zk3.dec.com>
Subject: Re: Which libraries are linked in?
Date: 1998/06/10	[thread overview]
Message-ID: <357EF930.9F7D6C4E@zk3.dec.com> (raw)
In-Reply-To: 357D167C.4FAC4EE6@citicorp.com


Asgar Ali wrote:
> 
> On DEC Unix V4, does anyone know the command that will display a list of
> libraries that an executable would use.
> ie command <exec name>   produces
> /usr/lib/xxx
> /usr/lib/xx
> /usr/directory/libalib.so  etc.

The /usr/bin/odump command will give you the libraries that are linked
against and executable, even other libraries:

% odump -D /usr/bin/X11/xterm | grep 'NEEDED:' | awk '{print $2}'
libXaw.so
libXmu.so
libXt.so
libSM.so
libICE.so
libXext.so
libX11.so
libc.so

also RPATH: will show you the alternate search path for the shared
libraries instead of the default.



  parent reply	other threads:[~1998-06-10  4:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-09  4:00 Which libraries are linked in? Asgar Ali
1998-06-09  4:00 ` Jarkko Hietaniemi
1998-06-09  4:00 ` Eric Dumazet
1998-06-09  4:00 ` Thomas Riechen
1998-06-10  4:00 ` Asgar Ali
1998-06-10  4:00 ` D. Sean Davidson [this message]
1998-06-12  4:00 ` Thomas Unger
1998-06-19  4:00   ` Jeff Donsbach
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox