1 |
On Fri, 23 Dec 2005 13:09:08 +0200 |
2 |
Petteri Räty <betelgeuse@g.o> wrote: |
3 |
|
4 |
> Basically it does ldd on all the elf files in a package and then |
5 |
> checks to which packages those libraries belong. |
6 |
|
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): |
14 |
http://thread.gmane.org/gmane.linux.gentoo.devel/27288 |
15 |
|
16 |
-- |
17 |
TGL. |
18 |
|
19 |
-- |
20 |
gentoo-dev@g.o mailing list |