Gentoo Archives: gentoo-dev

From: Thomas de Grenier de Latour <degrenier@×××××××××××.fr>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] checdeps.rb for getting deps out of elf files
Date: Fri, 23 Dec 2005 12:48:11
Message-Id: 20051223134739.4836fa68@eusebe
In Reply to: [gentoo-dev] checdeps.rb for getting deps out of elf files by "Petteri Räty"
1 On Fri, 23 Dec 2005 13:09:08 +0200
2 Petteri Räty <betelgeuse@g.o> wrote:
4 > Basically it does ldd on all the elf files in a package and then
5 > checks to which packages those libraries belong.
7 I don't think "ldd" alone is the way to go, because it doesn't make
8 distinction beetween direct and indirect links, and thus real and
9 deep deps.
10 To give you the idea, there's a patch in this thread for Spider's
11 "depreverse" script, which shows how to filter "ldd" output to keep
12 only NEEDED libs (using "objdump" here, although it would be doable
13 with "scanelf" too nowdays):
16 --
17 TGL.
19 --
20 gentoo-dev@g.o mailing list