Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126625 - x11-libs/wxGTK-2.6.2-r1 install fails when compiling libGL.a
Summary: x11-libs/wxGTK-2.6.2-r1 install fails when compiling libGL.a
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-17 22:08 UTC by eyrardurgur
Modified: 2006-06-23 07:49 UTC (History)
2 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 eyrardurgur 2006-03-17 22:08:38 UTC
I was trying to install VLC when I got the following error:

---------------
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/X11R6/lib64/libGL.a(glapi.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/X11R6/lib64/libGL.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [lib/libwx_gtk2_gl-2.6.so.0.2.0] Error 1

!!! ERROR: x11-libs/wxGTK-2.6.2-r1 failed.
!!! Function configure_build, Line 45, Exitcode 2
!!! emake failed
------------------

emerge --info
Portage 2.0.54 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3400+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
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
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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 /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/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac acpi alsa arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdr crypt cups curl dri dts dvd dvdr eds emboss encode exif expat fam ffmpeg flac foomaticdb fortran gdbm gif glut gnome gphoto2 gpm gstreamer gtk gtk2 hal idn imagemagick imlib ipv6 jpeg kde lcms ldap libwww lzw lzw-tiff mad matroska mng mp3 mpeg ncurses nls nsplugins ogg opengl pam pcre pdflib perl plotutils png python qt quicktime readline ruby sdl spell ssl svg tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev usb vcd vorbis xine xml2 xmms xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Simon Stelling (RETIRED) gentoo-dev 2006-06-23 07:49:07 UTC
i guess you forgot to run opengl-update after updating nvidia-kernel or xorg. if running it doesn't fix the issue, feel free to reopen