On Thu, Feb 04, 2010 at 09:58:42AM +0100, Mariusz Ceier wrote:
> W dniu 04.02.2010 08:15, Steven pisze:
> > I am having a recurring error for the last few weeks
> > 
> > revdep-rebuild -p
> > 
> > * Configuring search environment for revdep-rebuild
> > 
> > * Checking reverse dependencies
> > * Packages containing binaries and libraries broken by a package
> > * update
> > * will be emerged.
> > 
> > * Collecting system binaries and libraries
> > * Generated new 1_files.rr
> > * Collecting complete LD_LIBRARY_PATH
> > * Generated new 2_ldpath.rr
> > * Checking dynamic linking consistency
> > [ 37% ]  *   broken
> > /usr/lib64/binutils/x86_64-pc-linux-gnu/2.20/libbfd.la (requires
> > -liberty)
> > *   broken
> > *   /usr/lib64/binutils/x86_64-pc-linux-gnu/2.20/libopcodes.la
> > *   (requires -liberty)
> > [ 100% ]                 
> > * Generated new 3_broken.rr
> > * Assigning files to packages
> > *   /usr/lib64/binutils/x86_64-pc-linux-gnu/2.20/libbfd.la
> > *   -> sys-devel/binutils
> > *   /usr/lib64/binutils/x86_64-pc-linux-gnu/2.20/libopcodes.la
> > *   -> sys-devel/binutils
> > * Generated new 4_raw.rr and 4_owners.rr
> > * Cleaning list of packages to rebuild
> > * Generated new 4_pkgs.rr
> > * Assigning packages to ebuilds
> > * Generated new 4_ebuilds.rr
> > * Evaluating package order
> > * Generated new 5_order.rr
> > * All prepared. Starting rebuild
> > 
> > emerge --oneshot --pretend  sys-devel/binutils:0
> > 
> > I am not to sure how to go about trouble shooting this problem.
> > Everything seems to be running as usual aside from the revdep-rebuild
> > broken error.
> Check if you have /etc/ld.so.conf.d/05binutils and not
> /etc/env.d/00glibc ( this file should contain LDPATH="include
> ld.so.conf.d/*.conf" ), if so - rebuild glibc. If this is not the case,
> maybe try lafilefixer --justfixit.
> 
> HTH
> 

I have the same problem and I think the problem is revdep-rebuild.
binutils is just working fine and revdep-rebuild just thinks that it is
broken, because it doesnt check the right librarypath
(/usr/x86_64-pc-linux-gnu/lib). I tried your suggestion (rebuild glibc)
and it doesnt work. But I noticed something interesting:

cat /etc/ld.so.conf.d/05binutils.conf 
/usr/x86_64-pc-linux-gnu/lib

cat /etc/ld.so.conf
/usr/local/lib
include ld.so.conf.d/*.conf
[...]

I think this is normal. But when I start revdep-rebuild -v I get

revdep-rebuild environment:
SEARCH_DIRS="/bin
include
ld.so.conf.d/*.conf
/lib
/lib64
/opt/bin
[...]

So I guess the include-Statement should load the files under
ld.so.conf.d but it looks like its interpreted as a normal path

-Stefan