Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105970 - media-video/vlc won't find libGL with x11-base/xorg-x11-6.8.2-r3
Summary: media-video/vlc won't find libGL with x11-base/xorg-x11-6.8.2-r3
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 105971 107348 114397 114427 130080 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-09-14 08:24 UTC by Poggi Jérôme
Modified: 2006-04-15 16:44 UTC (History)
4 users (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 Poggi Jérôme 2005-09-14 08:24:52 UTC
libGL is in /usr/lib/opengl/xorg-x11/lib/, but vlc-config seem to search only in
/usr/X11R6/lib, so the linker don't find the lib at the end of ebuild

Reproducible: Always
Steps to Reproduce:
1. emerge =media-video/vlc-0.8.2-r1
2.
3.

Actual Results:  
...
i686-pc-linux-gnu-gcc -Wsign-compare -Wall -Os -march=pentium-m
-fomit-frame-pointer -pipe -pipe -o libopengl_plugin.so
libopengl_plugin_a-opengl.o `top_builddir=../.. ../../vlc-config --libs plugin
opengl`
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lGL
collect2: ld returned 1 exit status
make[4]: *** [libopengl_plugin.so] Error 1
make[4]: Leaving directory
`/var/tmp/portage/vlc-0.8.2-r1/work/vlc-0.8.2/modules/video_output'
make[3]: *** [all-modules] Error 1
make[3]: Leaving directory
`/var/tmp/portage/vlc-0.8.2-r1/work/vlc-0.8.2/modules/video_output'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/vlc-0.8.2-r1/work/vlc-0.8.2/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/vlc-0.8.2-r1/work/vlc-0.8.2'
make: *** [all] Error 2

!!! ERROR: media-video/vlc-0.8.2-r1 failed.
!!! Function src_compile, Line 222, Exitcode 2
!!! make of VLC failed
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
a good build

# equery b /usr/lib/opengl/xorg-x11/lib/libGL.a
[ Searching for file(s) /usr/lib/opengl/xorg-x11/lib/libGL.a in *... ]
x11-base/xorg-x11-6.8.2-r3 (/usr/lib/opengl/xorg-x11/lib/libGL.a)

Portage 2.0.52-r1 (default-linux/x86/2005.1, gcc-3.4.4-vanilla, glibc-2.3.5-r1,
2.6.13-suspend2-r1 i686)
=================================================================
System uname: 2.6.13-suspend2-r1 i686 Intel(R) Pentium(R) M processor 1.60GHz
Gentoo Base System version 1.12.0_pre8
distcc[23866] (dcc_mkdir) ERROR: mkdir /root/.distcc/state failed: No such file
or directory [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.4.1-r1
sys-apps/sandbox:    1.2.13
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
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium-m -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control
/var/www/localhost/htdocs/cacti/include/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=pentium-m -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache collision-protect distlocks noauto notitles
sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://mir.zyrianes.net/gentoo/
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.inode.at/
http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/
http://gentoo.mirror.sdv.fr/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
http://ftp.gentoo.skynet.be/pub/gentoo/ http://mirror.pudas.net/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://hsc.hsc.fr/gentoo-portage"
USE="x86 7zip X X509 aalib accounting acpi alsa apache2 arts async avi
bash-completion berkdb bindist bitmap-fonts bluetooth bzip2 cdr chroot crypt css
cups curl dba devfs26 devmap dhcp divx4linux dvd eds emboss emoticon encode
escreen esd ethereal fam fat fbsplash ffmpeg firefox flac font-server foomaticdb
fortran freetds ftp gd gdbm gif gimpprint gkrellm gmail gmp gnome gphoto2 gpm
gps graphviz gs gsm gstreamer gtk gtk2 h323 hardened hardenedphp iconv icq
imagemagick imap imlib ipv6 irda jabber java john jp2 jpeg keyscrub lcms ldap
libg++ libwww lzo lzw mad mailbox matroska mbox md5sum mikmod mmx mng motif
mozcalendar mp3 mpeg msn mssql mysql ncurses network new-login nls nntp nptl
ntfs ntlm ogg oggvorbis old-crypt opengl openssh openssl oscar oss pam pcmcia
pdflib perl php pic png pnp procmail python qt quicktime readline real reiserfs
rtc ruby samba sdl slang smartcard smime snmp softmmu spell sqlite sse sse2 ssl
tcltk tcpd tidy tiff truetype truetype-fonts type1-fonts usb vhosts vnc vorbis
wifi win32codecs wmf wxwindows x11vnc xine xml xml2 xmms xosd xscreensaver xv
xvid yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-09-14 08:59:09 UTC
Please use eselect opengl or opengl-update to select which implementation of 
the OpenGL library use. 
This is not a VLC ebuild bug, but rather an incompatibility between latest 
opengl-update and xorg ebuilds (search the bugzilla to find other cases). 
 
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-09-14 08:59:28 UTC
*** Bug 105971 has been marked as a duplicate of this bug. ***
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-09-27 00:01:38 UTC
*** Bug 107348 has been marked as a duplicate of this bug. ***
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-12-03 23:16:31 UTC
*** Bug 114397 has been marked as a duplicate of this bug. ***
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-12-04 03:51:05 UTC
*** Bug 114427 has been marked as a duplicate of this bug. ***
Comment 6 Salim Fadhley 2005-12-04 04:10:39 UTC
Hi,

I just re-ran eSelect which resulted in no change. The things that wouldnt
compile before still do not compile (Basically, anything that depends however
spuriously on OpenGl).

Is this affecting all OpenGL users?
Comment 7 Andrey Falko 2005-12-04 06:36:21 UTC
Its affecting me on my Pentium 4 system, but on my 32-bit amd64.
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-04-15 16:44:09 UTC
*** Bug 130080 has been marked as a duplicate of this bug. ***