Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 243186

Summary: emerge media-libs/freeglut-2.4.0-r1 fails
Product: Gentoo Linux Reporter: Ognjan Kirilov Iordanov <iordanov>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED INVALID    
Severity: normal CC: arttuv69
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ognjan Kirilov Iordanov 2008-10-22 09:19:22 UTC
emerge =media-libs/freeglut-2.4.0-r1 fails

i686-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  -L/usr/lib -lm -lGL /usr/lib/libGLU.so /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.3.1/../../../../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

# emerge --info
Portage 2.2_rc12 (default-linux/x86/2007.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.22-suspend2-r2 i686)
=================================================================
System uname: Linux-2.6.22-suspend2-r2-i686-Pentium_III_-Katmai-with-glibc2.0
Timestamp of tree: Thu, 16 Oct 2008 19:45:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r6, 2.5.2-r8
dev-python/pycrypto: 2.0.1-r5
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
LDFLAGS=""
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync1.de.gentoo.org/gentoo-portage"
USE="X X509 a52 aac aalib accessibility acl amuled apache2 bash-completion bindist bittorrent bzip2 cdda cddb cdio cgi chipcard cli cracklib crypt css ctype cups curl dba dbus dbx dga directfb divx dri dts dvb emacs fat fbcon ffmpeg firefox flac fortran ftp gd gdbm geldkarte glut gpm gtk hbci httpd icc iconv icq imagemagick ipv6 jabber java javascript john jpeg junit kdm live midi mime mjpeg mmx mmxext mono mozdevelop mozsvg mplayer mudflap mule mysql nfs nls no-seamonkey nodoc nosrc nptlonly nsplugin ntfs opengl openmp openssh pam pcre pda perl php png postgres ppds python qt3 readline real reiser4 reiserfs samba session shout smartcard spl sse sse2 ssl stream svga swat tcltk tcpd tetex threads tidy type1 unicode usb v4l v4l2 vcd vfat wifi wxwindows x86 xcomposite xfs xine xinerama xorg xprint xrandr xulrunner xvid" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1        emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m       maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="vesa nvidia fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Mike Auty (RETIRED) gentoo-dev 2008-10-22 10:04:09 UTC
Can you please post the output after running "eselect opengl" please?  Thanks...  5:)
Comment 2 Ognjan Kirilov Iordanov 2008-10-22 10:20:38 UTC
The same output after running "eselect opengl set nvidia".
Comment 3 Arttu Valo 2008-10-22 15:19:04 UTC
How is the libGL.so symlink on your system? What does it point to (ls -al /usr/lib/libGL.so) and does that pointed-to thing exist?

Comments #4 and #5 in bug #237785 might be informative if there is something wrong with the libGL.so symlink. That bug in turn refers to bug #238686 about trouble with some of the latest ati-drivers (noticed you have both fglrx and nvidia in your VIDEO_CARDS, so might have changed your card recently?).
Comment 4 Ognjan Kirilov Iordanov 2008-10-22 15:28:53 UTC
I don't know why but now it works for me after reinstalling the nvidia-drivers.
Comment 5 RĂ©mi Cardona (RETIRED) gentoo-dev 2008-10-22 15:47:24 UTC
Closing then :) Thanks for the follow up