$ gksu gksu: error while loading shared libraries: libeggdbus-1.so.0: cannot open shared object file: No such file or directory Interestingly, re-emerging gksu does not fail, though producing a binary with the very same problem: $ ldd /usr/bin/gksu | grep 'not found' libeggdbus-1.so.0 => not found Emerging dev-libs/eggdbus helped to fix this error. Missing dependency?
# which gksu # objdump -p $(which pidgin) | grep NEEDED does the gksu command really have NEEDED entry for libeggdbus? use something like objdump (binutils) or scanelf (pax-utils) instead of `ldd` because `ldd` prints it's dependencies libs too, like foobar -> libfoo -> libbar, then if libbar is broken running `ldd` on foobar would reproduce what you just reported.
(In reply to comment #1) > # which gksu > # objdump -p $(which pidgin) | grep NEEDED obvious typo there... should read gksu instead of pidgin. sorry :)
I am running it without eggdbus with no problem: $ ldd /usr/bin/gksu | grep 'not found' $ please run: $ grep eggdbus /usr/lib/*.la To review .la files
Here 'scanelf -n /usr/bin/gksu' gives: ET_EXEC libgksu2.so.0,libgtk-x11-2.0.so.0,libgobject-2.0.so.0,libglib-2.0.so.0,libpthread.so.0,libc.so.6 /usr/bin/gksu lddtree would be a better idea than ldd. Unless it indeed is la file pollution, but wouldn't that result in failure to build, instead of runtime problems ?
What does occur when you rebuild gksu (with revdep-rebuild or manually) without eggdbus?
(In reply to comment #1) > # objdump -p $(which gksu) | grep NEEDED > > does the gksu command really have NEEDED entry for libeggdbus? Looks like not: $ objdump -p $(which gksu) | grep NEEDED NEEDED libgksu2.so.0 NEEDED libgtk-x11-2.0.so.0 NEEDED libgobject-2.0.so.0 NEEDED libglib-2.0.so.0 NEEDED libpthread.so.0 NEEDED libc.so.6 (In reply to comment #3) > please run: > $ grep eggdbus /usr/lib/*.la > > To review .la files $ grep eggdbus /usr/lib/*.la [..] /usr/lib/libgksu2.la:[..] -leggdbus-1 [..] (In reply to comment #5) > What does occur when you rebuild gksu (with revdep-rebuild or manually) without > eggdbus? gksu emerges fine with not eggdbus around.
(In reply to comment #4) > lddtree would be a better idea than ldd. Excellent pointer, never heard of lddtree before. $ objdump -p /usr/lib/libgksu2.so.0 | grep NEEDED | grep egg NEEDED libeggdbus-1.so.0 So x11-libs/libgksu does need libeggdbus?
Well, given: ET_DYN libutil.so.1,libgtk-x11-2.0.so.0,libgdk-x11-2.0.so.0,libatk-1.0.so.0,libgio-2.0.so.0,libpangoft2-1.0.so.0,libpangocairo-1.0.so.0,libgdk_pixbuf-2.0.so.0,libm.so.6,libcairo.so.2,libpng14.so.14,libpango-1.0.so.0,libfontconfig.so.1,libfreetype.so.6,libz.so.1,libexpat.so.1,libgobject-2.0.so.0,libgmodule-2.0.so.0,libgthread-2.0.so.0,librt.so.1,libgconf-2.so.4,libstartup-notification-1.so.0,libxcb-aux.so.0,libxcb-event.so.1,libxcb-atom.so.1,libSM.so.6,libuuid.so.1,libICE.so.6,libX11.so.6,libxcb.so.1,libXau.so.6,libXdmcp.so.6,libdl.so.2,libgnome-keyring.so.0,libgtop-2.0.so.7,libglib-2.0.so.0,libpthread.so.0,libc.so.6 /usr/lib/libgksu2.so I'd say no - this probably is la file pollution, it still should have failed during build. But it doesn't really matter.
Yes, I neither need eggdbus for libgksu: $ objdump -p /usr/lib/libgksu2.so.0 | grep NEEDED | grep egg $
as concluded, not a bug
(In reply to comment #10) > as concluded, not a bug Okay, understood. How do I find out what to rebuild to have gksu work without libeggdbus as it should? Thanks!
(In reply to comment #11) > (In reply to comment #10) > > as concluded, not a bug > > Okay, understood. > > How do I find out what to rebuild to have gksu work without libeggdbus as it > should? Thanks! emerge lafilefixer lafilefixer --justfixit then something like find /usr/lib64 -name '*.la' -exec grep eggdbus {} + find /usr/local -name '*.la' -exec grep eggdbus {} + if that produces any matches, those files are broken... delete them, or at least delete references to eggdbus from them then revdep-rebuild --library libeggdbus-1.so.0 hope that helps
(In reply to comment #12) > hope that helps Yes, thanks!