yamato tinderbox-scripts # xmllint xmllint: error while loading shared libraries: libreadline.so.5: cannot open shared object file: No such file or directory yamato tinderbox-scripts # scanelf -n /usr/bin/xmllint TYPE NEEDED FILE ET_EXEC libreadline.so.5,libxml2.so.2,libc.so.6 /usr/bin/xmllint revdep-rebuild fails to rebuild libxml2 though, I'm going to attach the cache directory tarball.
Created attachment 183287 [details] /var/cache/revdep-rebuild
Curious. Please give emerge --info, the version of gentoolkit you have, and the output of revdep-rebuild -pL libreadline.so.5 Thanks!
I cannot duplicate this behavior on my test system.
Created attachment 217033 [details] emerge --info, eix gentoolkit, revdep-rebuild -pL libreadline.so.5, etc.
(In reply to comment #2) > Curious. Please give emerge --info, the version of gentoolkit you have, and the > output of revdep-rebuild -pL libreadline.so.5 > > Thanks! > I get the the same problem every time sys-libs/readline gets updated: revdep-rebuild misses libreadline.so. I updated readline on Dec 30th, 2009 and today I got "sqlite: error while loading shared libraries: libreadline.so.5: cannot open shared object file: No such file or directory.", thought I've run revdep-rebuild several times since then. root@gentoo:/root/Portage# ldd /usr/bin/sqlite linux-gate.so.1 => (0xffffe000) libsqlite.so.0 => /usr/lib/libsqlite.so.0 (0xb77fe000) libreadline.so.5 => not found libc.so.6 => /lib/libc.so.6 (0xb76b6000) /lib/ld-linux.so.2 (0xb7884000) -- log=log/revdep-201001201609.log ;\ script -c "exec revdep-rebuild -- -b -av" $log "2>&1 || less -c $log" Script started, file is log/revdep-201001201609.log * 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 [ 100% ] * Dynamic linking on your system is consistent... All done. Script done, file is log/revdep-201001201609.log -- [I] app-portage/gentoolkit (0.2.4.5@07/12/09): Collection of administration scripts for Gentoo -- root@gentoo:~/Portage# revdep-rebuild -pL libreadline.so.5 2>&1|tee bugzilla/260412/rebdep-rebuild-pL_libreadline.so.5.txt * Configuring search environment for revdep-rebuild * Checking reverse dependencies * Packages containing binaries and libraries using libreadline.so.5 * will be emerged. * Collecting system binaries and libraries * Generated new 1_files.rr * Checking dynamic linking * found /usr/bin/sqlite * found /usr/lib/gcl-2.6.8/gcl-tk/gcltkaux * found /usr/lib/gcl-2.6.8/unixport/saved_ansi_gcl * found /usr/local/lib/greencard-3.01/greencard-bin * found /usr/local/lib/hmake/ix86-Linux/HInteractive * Generated new 3_broken.rr * Assigning files to packages * /usr/bin/sqlite -> dev-db/sqlite * /usr/lib/gcl-2.6.8/gcl-tk/gcltkaux -> dev-lisp/gcl * /usr/lib/gcl-2.6.8/unixport/saved_ansi_gcl -> dev-lisp/gcl * !!! /usr/local/lib/greencard-3.01/greencard-bin not owned by any package is broken !!! * /usr/local/lib/greencard-3.01/greencard-bin -> (none) * !!! /usr/local/lib/hmake/ix86-Linux/HInteractive not owned by any package is broken !!! * /usr/local/lib/hmake/ix86-Linux/HInteractive -> (none) * 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 dev-db/sqlite:0 dev-lisp/gcl:0 These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-db/sqlite-2.8.16-r4 [ebuild R ] dev-lisp/gcl-2.6.8_pre20090419 * Now you can remove -p (or --pretend) from arguments and re-run revdep-rebuild. -- emerge --info attached as part of 260412.tar.gz
(In reply to comment #5) > (In reply to comment #2) > > Curious. Please give emerge --info, the version of gentoolkit you have, and the > > output of revdep-rebuild -pL libreadline.so.5 > > > > Thanks! > > > > > I get the the same problem every time sys-libs/readline gets updated: > revdep-rebuild misses libreadline.so. > > I updated readline on Dec 30th, 2009 and today I got "sqlite: error while > loading shared libraries: libreadline.so.5: cannot open shared object file: No > such file or directory.", thought I've run revdep-rebuild several times since > then. > > root@gentoo:/root/Portage# ldd /usr/bin/sqlite > linux-gate.so.1 => (0xffffe000) > libsqlite.so.0 => /usr/lib/libsqlite.so.0 (0xb77fe000) > libreadline.so.5 => not found > libc.so.6 => /lib/libc.so.6 (0xb76b6000) > /lib/ld-linux.so.2 (0xb7884000) > -- It seems that revdep-rebuild misses certain binaries not installed by current packages, but catches certain others. I don't know what the rules are; but "revdep-rebuild -L libSomelib.so" finds things that revdep-rebuild without -L misses. After emerging dev-db/sqlite again, it became apparent that /usr/bin/sqlite isn't installed by this package, even though "qfile /usr/bin/sqlite" names the sqlite package. The sqlite ebuild only installs a command named "sqlite3." I just made a symlink from sqlite3 -> sqlite. I don't know what the old sqlite file was; maybe it was a copy of something older than the corresponding sqlite3 binary.
Please try the most recent version of gentoolkit, which is 0.3.0_rc8-r1 currently. Also you should rather use "scanelf -n" or similar, instead of "ldd".
(In reply to comment #7) > Please try the most recent version of gentoolkit, which is 0.3.0_rc8-r1 > currently. > Also you should rather use "scanelf -n" or similar, instead of "ldd". > Since gentoolkit upgrade Tue Feb 16 20:49:33 2010 >>> app-portage/gentoolkit-0.3.0_rc8-r1, I haven't had any more trouble with revdep-rebuild. Even after upgrading readline (Fri Apr 9 05:32:21 2010 >>> sys-libs/readline-6.1) revdep-rebuild didn't miss rebuiding anything depending on readline. I think this bug is okay to CLOSE.
This bug should be closed.