emerge libglade failed with the following errors: ------------------------------------------------- gcc -O2 -march=i686 -fomit-frame-pointer -Wall -std=c9x -o .libs/test-libglade test-libglade.o -Wl,--export-dynamic glade/.libs/libglade-2.0.so /usr/lib/libxml2.so -lpthread -lz /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: warning: libXinerama.so.1, needed by /usr/lib/libgdk-x11-2.0.so, not found (try using -rpath or -rpath-link) /usr/lib/libgdk-x11-2.0.so: undefined reference to `XineramaIsActive' /usr/lib/libgdk-x11-2.0.so: undefined reference to `XineramaQueryScreens' collect2: ld returned 1 exit status make[2]: *** [test-libglade] Error 1 make[2]: Leaving directory `/var/tmp/portage/libglade-2.4.0/work/libglade-2.4.0' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/libglade-2.4.0/work/libglade-2.4.0' make: *** [all] Error 2 !!! ERROR: gnome-base/libglade-2.4.0 failed. !!! Function gnome2_src_compile, Line 38, Exitcode 2 !!! compile failure ------------------------------------------------------- after updating gtk+ from version 2.4.1 to 2.4.4, emerge libglade worked! Reproducible: Always Steps to Reproduce: In the RDEPEND Variable of the ebuild it should probably say: >=x11-libs/gtk+-2.4.4 instead of: >=x11-libs/gtk+-2.4
I don't think so, you compiled gtk+-2.4.1 with xinerama support back then, but ditched it later on and now you get the linking problems. Upgrading just rebuilds & relinks without the xinerama support & then ofcourse it works.
This is possible too. Because it was a new install, I probably used the precompiled gtk+ package of the 2004.2-package-CD. So if that package is compiled with xinerama support, you are right.