Gentoo Archives: gentoo-dev

From: Georgi Georgiev <chutz@×××.net>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] revdep-rebuild
Date: Mon, 15 Aug 2005 08:21:20
Message-Id: 20050815081810.GA183454@lion.gg3.net
In Reply to: Re: [gentoo-dev] revdep-rebuild by Stefan Jones
1 maillog: 14/08/2005-21:16:01(-0700): Stefan Jones types
2 > Stefan Jones wrote:
3 >
4 > >So I have started making a small C program which does the
5 > >"Checking dynamic linking consistency..." part of the revdep-rebuild
6 > >program (I think this the the most time intensive part).
7 > >
8 > >This program can then be called by the script.
9 > >
10 > >So far all I see the program needing to do is
11 > >read /root/.revdep-rebuild.1_files and
12 > >use /root/.revdep-rebuild.2_ldpath as the LD_LIBRARY_PATH
13 > >and write any bad files to /root/.revdep-rebuild.3_rebuild
14 > >
15 > >
16 > >
17 >
18 > I have finished doing the above for linux/glibc, it can be found at
19 > http://dev.gentoo.org/~cretin/revdep-rebuild.tar.bz2
20 >
21 > I just made a small C-program to check the dependencies, it uses
22 > ld-linux.so.2 check if the file is an ELF and then to check if it's
23 > libraries are present.
24
25 On x86-64 the native ELFs do not use ld-linux.so.2, but
26 ld-linux-x86-64.so.2 instead.
27
28 --
29 ) Georgi Georgiev ) I'd put my money where my mouth is, but my )
30 ( chutz@×××.net ( mouth keeps moving. -- Larry Wall in (
31 ) +81(90)2877-8845 ) <199704051723.JAA28035@××××.org> )
32 --
33 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] revdep-rebuild Stefan Jones <cretin@g.o>