* Listing symbol dependencies on shared libraries
@ 2000-01-18 5:00 john hall
2000-01-18 5:00 ` Joe Mario
0 siblings, 1 reply; 2+ messages in thread
From: john hall @ 2000-01-18 5:00 UTC (permalink / raw)
Hi
Is there a way that I can list all the symbols in shared libraries that
are linked to from an OSF/DU executable?
I've set _RLD_ARGS to "-trace" and also set the LD_BIND_NOW environment
variable, which seems to provoke the loader to list the symbols that
could be bound when executing a program, though I'm not entirely
convinced I saw all I was expecting to see.
However, I would much prefer to be able to list the external shared
library symbols an executable depends on without actually executing it -
is there a way?
Many thanks
john hall
johnhl@netcomuk.co.uk
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Listing symbol dependencies on shared libraries
2000-01-18 5:00 Listing symbol dependencies on shared libraries john hall
@ 2000-01-18 5:00 ` Joe Mario
0 siblings, 0 replies; 2+ messages in thread
From: Joe Mario @ 2000-01-18 5:00 UTC (permalink / raw)
To: john hall
john hall wrote:
> Is there a way that I can list all the symbols in shared libraries that
> are linked to from an OSF/DU executable?
>
The "odump -Dt" command will dump the table of external symbols in a
shared
object, where a shared object is either a shared library or a -call_shared
linked
executable.
You'll need to run the odump command on each library that the application
links
with to get all the symbols for all libraries.
As of the V5.0 release, you can use the "ldd" command to list the dynamic
library dependencies of an application. Prior to V5.0, to get the
dependencies,
you'll need to use "odump -Dl" on the application and all of its
dependencies.
Joe Mario
Compaq Tru64 UNIX Development Environment
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-01-18 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-01-18 5:00 Listing symbol dependencies on shared libraries john hall
2000-01-18 5:00 ` Joe Mario
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox