Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Recursive option for ldd

1,043 views
Skip to first unread message

Rahul

unread,
Jan 28, 2009, 2:35:12 AM1/28/09
to
Hi,

I'm using ldd to list out the dynamic dependencies for my executable.
However, it lists out only the first level dependency, is there any
way to list out the all the levels of dependencies? I'm looking for a
recursive option for ldd but couldn't find any so far :-(

Thanks in advance !!!

pk

unread,
Jan 28, 2009, 7:48:53 AM1/28/09
to

Bjarni Juliusson

unread,
Jan 29, 2009, 9:59:27 AM1/29/09
to

From the FreeBSD ldd manpage:

The ldd utility displays all shared objects that are needed to run the
given program or to load the given shared object. Contrary to nm(1),
the list includes ``indirect'' dependencies that are the result of
needed shared objects which themselves depend on yet other shared
objects.

Can you use that version?


Bjarni
--

INFORMATION WANTS TO BE FREE

0 new messages