tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Displaying dependencies from an executable/shared object?
@ 2001-03-05 14:40 Arno Hahma
  0 siblings, 0 replies; only message in thread
From: Arno Hahma @ 2001-03-05 14:40 UTC (permalink / raw)
  To: tru64-unix-managers

I wonder, if there is a way to display library dependencies of
an executable or shared object, when "ldd" does not work.

Specifically, it is often necessary to find out, what library
and where the loader is looking for, when it is _not_ finding
it. If the rpath has been recorded to an executable, there
_should_ be some way to dig out the information. 

ldd is of no use in such a situation, because it also complains
about missing libraries, unlike on some other systems, where it
tells the missing library name among others. I also looked at
"odump", but did not find anything useful in it either.

In the same vein, ldd also seems to have problems with objects,
that have been "spiked", i.e. optimized with spike. If applied
on many such objects, ldd dumps core with segmentation fault,
but not always.

A third strange property of ldd: if you invoke it in KDE2 "konsole",
the effect is the same as typing "exit" on the prompt! Strange...
It works properly on an xterm, though.

The systems I've been trying these are running either Tru64 5.1 PK2
or 4.0G PK1 and PK2.

ArNO
    2

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-03-05 14:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-05 14:40 Displaying dependencies from an executable/shared object? Arno Hahma

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