tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Arno Hahma <arno () azido ! pp ! utu ! fi>
To: tru64-unix-managers
Subject: Displaying dependencies from an executable/shared object?
Date: Mon, 05 Mar 2001 14:40:42 +0000	[thread overview]
Message-ID: <98380286710027.tru64-unix-managers.marc@archive.invalid> (raw)

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

                 reply	other threads:[~2001-03-05 14:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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