/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
[31;01m*[0m
[31;01m*[0m ERROR: media-libs/freeglut-2.4.0-r1 failed.
[31;01m*[0m Call stack:
[31;01m*[0m ebuild.sh, line 49: Called src_compile
[31;01m*[0m environment, line 2347: Called die
[31;01m*[0m The specific snippet of code:
[31;01m*[0m emake || die "emake failed"
[31;01m*[0m The die message:
[31;01m*[0m emake failed
[31;01m*[0m
[31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant.
[31;01m*[0m A complete build log is located at '/var/tmp/portage/media-libs/freeglut-2.4.0-r1/temp/build.log'.
[31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/media-libs/freeglut-2.4.0-r1/temp/environment'.
[31;01m*[0m