maillog: 14/08/2005-21:16:01(-0700): Stefan Jones types
> Stefan Jones wrote:
> 
> >So I have started making a small C program which does the
> >"Checking dynamic linking consistency..." part of the revdep-rebuild
> >program (I think this the the most time intensive part).
> >
> >This program can then be called by the script.
> >
> >So far all I see the program needing to do is
> >read /root/.revdep-rebuild.1_files and
> >use /root/.revdep-rebuild.2_ldpath as the LD_LIBRARY_PATH
> >and write any bad files to /root/.revdep-rebuild.3_rebuild
> >
> > 
> >
> 
> I have finished doing the above for linux/glibc, it can be found at 
> http://dev.gentoo.org/~cretin/revdep-rebuild.tar.bz2
> 
> I just made a small C-program to check the dependencies, it uses 
> ld-linux.so.2 check if the file is an ELF and then to check if it's 
> libraries are present.

On x86-64 the native ELFs do not use ld-linux.so.2, but
ld-linux-x86-64.so.2 instead.

-- 
 )   Georgi Georgiev    ) I'd put my money where my mouth is, but my    )
(     [EMAIL PROTECTED]    (  mouth keeps moving. -- Larry Wall in         (
 )  +81(90)2877-8845    ) <[EMAIL PROTECTED]>              )
-- 
gentoo-dev@gentoo.org mailing list

Reply via email to