Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152415 - Cannot compile media-libs/freeglut-2.4.0
Summary: Cannot compile media-libs/freeglut-2.4.0
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-22 12:53 UTC by maad eminencja
Modified: 2006-10-22 13:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description maad eminencja 2006-10-22 12:53:39 UTC
The following error was reported by emerge.

I fixed it by:
  cd /usr/lib64
  ln -s libGL.so.1 libGL.so
   

x86_64-pc-linux-gnu-gcc -shared  libglut_la-freeglut_callbacks.lo libglut_la-freeglut_cursor.lo libglut_la-freeglut_display.lo libglut_la-freeglut_ext.lo libglut_la-freeglut_font.lo libglut_la-freeglut_glutfont_definitions.lo libglut_la-freeglut_font_data.lo libglut_la-freeglut_stroke_roman.lo libglut_la-freeglut_stroke_mono_roman.lo libglut_la-freeglut_gamemode.lo libglut_la-freeglut_geometry.lo libglut_la-freeglut_init.lo libglut_la-freeglut_joystick.lo libglut_la-freeglut_main.lo libglut_la-freeglut_menu.lo libglut_la-freeglut_misc.lo libglut_la-freeglut_overlay.lo libglut_la-freeglut_state.lo libglut_la-freeglut_structure.lo libglut_la-freeglut_teapot.lo libglut_la-freeglut_videoresize.lo libglut_la-freeglut_window.lo  -Wl,--rpath -Wl,/usr/lib -Wl,--rpath -Wl,/usr/lib  -L/usr/lib64 -L/usr/lib -L/usr/X11R6/lib -lm /usr/lib64/libGL.so /usr/lib/libGLU.so /usr/lib64/libXext.so /usr/lib64/libX11.so /usr/lib64/libXxf86vm.so  -Wl,-soname -Wl,libglut.so.3 -o .libs/libglut.so.3.8.0
x86_64-pc-linux-gnu-gcc: /usr/lib64/libGL.so: No such file or directory
make[2]: *** [libglut.la] Error 1
make[2]: Leaving directory `/var/tmp/portage/freeglut-2.4.0/work/freeglut-2.4.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/freeglut-2.4.0/work/freeglut-2.4.0'
make: *** [all] Error 2

!!! ERROR: media-libs/freeglut-2.4.0 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ebuild.sh, line 608:   Called die
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-10-22 13:11:33 UTC
Run eselect-opengl set xorg-x11 (or nvidia or ati or whatever you are using); not a freeglut bug.