[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT: Dynamic library dependencies

I demand that Andrew Suffield may or may not have written...

> On Fri, May 28, 2004 at 07:14:27AM -0500, Steve Greenland wrote:
>> On 27-May-04, 15:39 (CDT), Shaun Jackman <sjackman@telus.net> wrote:
>>> I'm also looking for a utility that acts using solely the solibs, rather
>>> than Debian package information.
>> Well, since ldd does the recursion, perhaps modifying it to show the
>> intermediate steps would be the easiest. It is, after all, free software.
>> :-)

> Unfortunately, ldd is just a shell script, and the code which does the
> recursion is the glibc ELF loader.

> You're welcome to try modifying that, but you're going to need a very large
> bag to be sick in. It's one of the single worst pieces of code ever
> written.

The attached script (which requires ldd and objdump) may be of help...

| Darren Salt   | linux (or ds) at | nr. Ashington,
| woody, sarge, | youmustbejoking  | Northumberland
| RISC OS       | demon co uk      | Toon Army
|   <URL:http://www.youmustbejoking.demon.co.uk/progs.linux.html>

Power corrupts, and absolute power corrupts absolutely.

Attachment: ldd.pl
Description: Perl program

Reply to: