Switched on my laptop yesterday evening and wanted to log into Gnome.
No workie. Grrrr. What did I emerge this time, that breaks stuff? …
Trying to log into Fluxbox… aha! That works.
Ok… lets see if we can find something about it in the excellent Gentoo Forums. Context menu, Firefox…
Duh. No workie.
Starting it from aterm to see the error… oy.
It says:
error while loading shared libraries: /usr/lib/libglib-2.0.so.0: invalid ELF header
Ugh. Time to reemerge that package… but what is it?
qpkg -f /usr/lib/libglib-2.0.so.0
reveals that it belongs to dev-libs/glib (hm, i could have guessed it, duh!)
emerge glib
takes a little while, and after that Firefox works again… Gnome too! yay!