From: Eric Dumazet <Eric.Dumazet@COSMOSBAY.COM>
Subject: Re: Which libraries are linked in?
Date: 1998/06/09 [thread overview]
Message-ID: <357D71C6.2622E88@COSMOSBAY.COM> (raw)
In-Reply-To: 357D167C.4FAC4EE6@citicorp.com
Hi Asgar,
There is no easy way to do that.
I use 2 methods :
1) odump
$ odump -Dl /path_to_exe
This one gives the names of the .so, not the real path used by the
loader at exec time. But it works even if a .so is not found.
2) Traces on /sbin/loader
$ _RLD_ARGS=-v /path_to_exe <some option/arg that makes exe exits>
With this your LD_LIBRARY_PATH is taken into account. But the program is
started. You must know how to ask nothing to the program.
You could do : man loader to learn more options on /sbin/loader
Eric Dumazet
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.
next prev parent reply other threads:[~1998-06-09 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 ` Thomas Riechen
1998-06-09 4:00 ` Eric Dumazet [this message]
1998-06-10 4:00 ` Asgar Ali
1998-06-10 4:00 ` D. Sean Davidson
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