/usr/lib/libXext.so /usr/lib/libX11.so /usr/lib/libXxf86vm.so -Wl,-soname -Wl,libglut.so.3 -o .libs/libglut.so.3.8.0 /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lGL collect2: ld returned 1 exit status make[2]: *** [libglut.la] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-libs/freeglut-2.4.0-r1/work/freeglut-2.4.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-libs/freeglut-2.4.0-r1/work/freeglut-2.4.0' make: *** [all] Error 2 * * ERROR: media-libs/freeglut-2.4.0-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2347: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/media-libs/freeglut-2.4.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/freeglut-2.4.0-r1/temp/environment'. *