Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136920 - emerge smpeg fails , cannot find GL library
Summary: emerge smpeg fails , cannot find GL library
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-15 12:16 UTC by frank naumann
Modified: 2006-06-15 15:38 UTC (History)
1 user (show)

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 frank naumann 2006-06-15 12:16:31 UTC
i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -I/usr/include/SDL -D_REENTRANT -DUSE_MMX -DTHREADED_AUDIO -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -o .libs/glmovie glmovie-tile.o glmovie.o -lGL -lGLU .libs/libsmpeg.so -L/usr/lib -lSDL -lpthread -lm -lSDL -lpthread -lm -lstdc++ -lSDL -lpthread -lm -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -lm
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make[1]: *** [glmovie] Error 1
make[1]: *** Waiting for unfinished jobs....
i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -I/usr/include/SDL -D_REENTRANT -DUSE_MMX -DTHREADED_AUDIO -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -o .libs/plaympeg plaympeg.o .libs/libsmpeg.so -L/usr/lib -lSDL -lpthread -lm -lSDL -lpthread -lm -lstdc++ -lSDL -lpthread -lm -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -lm
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: warning: libstdc++.so.5, needed by /usr/lib/libSDL.so, may conflict with libstdc++.so.6
creating plaympeg
make[1]: Leaving directory `/var/tmp/portage/smpeg-0.4.4-r7/work/smpeg-0.4.4'
make: *** [all-recursive] Error 1

!!! ERROR: media-libs/smpeg-0.4.4-r7 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  smpeg-0.4.4-r7.ebuild, line 57:   Called die


emerge --info:

Portage 2.1 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.3.6-r3, 2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac acpi alsa apm arts avi berkdb bigpatch bitmap-fonts bluetooth canna cdr cg cjk cli cpudetection crypt cups divx4linux dri dv dvb dvd dvdr dvdread eds emboss encode ffmpeg firefox foomaticdb fortran gdbm gif glut glx gphoto2 gpm gstreamer gtk2 hal icecast icq id3 ieee1394 imagemagick imlib intl ipv6 isdnlog javascript joystick jp2 jpeg kde lame ldapsam lesstif libg++ libwww mad matroska migemo mikmod mime mmx mmxext motif mozilla mp3 mp4live mpeg mpeg2 mpeg4 mplayer mythtv ncurses network nls ntfs ntlm_unsupported_patch nvidia ogg oggvorbis openal opengl osc oss pam pcre pdflib perl player png pppd python qt quicktime radius rar raw-mode rcu readline real reflection sdl session sftp sharedmem shout sndfile sockets sourcecaps sox spell spl sse sse-filters ssl stream tcpd truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd vhosts vidix vlm vorbis win32codecs xanim xine xml2 xmms xorg xv xvid xvmc yv12 zlib zvbi elibc_glibc kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS



I use the NVIDIA-Linux-x86-1.0-8762 graphics driver (which compiled without errors). Since nvidia compiled flawless, I suggest there is actually nothing wrong with the GL and GLU libs?
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-15 15:38:14 UTC
> warning: libstdc++.so.5, needed by /usr/lib/libSDL.so, may conflict with
> libstdc++.so.6

You've got pretty messed up linkage and everything. Please, follow the gcc-upgrading guide next time.

http://www.gentoo.org/doc/en/gcc-upgrading.xml