wxGTK v2.6.1 fails with the following error: checking for -lGL... no checking for -lMesaGL... no configure: error: OpenGL libraries not available !!! ERROR: x11-libs/wxGTK-2.6.1 failed. However: # locate libGL.so /usr/lib/opengl/xorg-x11/lib/libGL.so.1 /usr/lib/opengl/xorg-x11/lib/libGL.so.1.2 /usr/lib/opengl/xorg-x11/lib/libGL.so /usr/lib/opengl/nvidia/lib/libGL.so.1 /usr/lib/opengl/nvidia/lib/libGL.so.1.0.6629 /usr/lib/opengl/nvidia/lib/libGL.so and.... # grep opengl /etc/ld.so.conf /usr/lib/opengl/nvidia/lib .... so at least libGL.so _should_ be located. There is no libMesaGL.so on the system. I've tried re-emerging xorg-x11, which doesn't help. # emerge info Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.4.20040808-r1,glibc-2.3.5-r1, 2.6.12-gentoo-r6 i686) ================================================================= System uname: 2.6.12-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz Gentoo Base System version 1.6.13 ccache version 2.3 [disabled] dev-lang/python: 2.3.5-r2, 2.4.1-r1 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 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.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.8.1-r1, 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -mcpu=pentium4 -march=pentium4 -fprefetch-loop-arrays -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.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/lib/mozilla/defaults/pref /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="-O2 -mcpu=pentium4 -march=pentium4 -fprefetch-loop-arrays -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo http://cudlug.cudenver.edu/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo" LANG="en" LC_ALL="en_US" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X Xaw3d acl acpi alsa apache2 apm arts avi berkdb bindist bitmap-fonts bonobo cdr crypt cups curl doc dvd dvdr eds emboss encode esd evo fam fastcgi flac flash foomaticdb fortran gd gdbm gif gnome gpm gps gstreamer gtk gtk2 gtkhtml guile hal imagemagick imap imlib ipv6 jack java jikes jpeg junit ldap libg++ libwww mad maildir mcal mikmod motif mozilla mp3 mpeg mysql nas ncurses nls ogg oggvorbis opengl oss pam pdflib perl plotutils png ppds python quicktime readline samba sasl scanner sdl slang slp snmp spell sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb vorbis xine xml xml2 xmms xosd xv zeo zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, LINGUAS
For the static libGL.a library..... # locate libGL.a /usr/lib/opengl/xorg-x11/lib/libGL.a so I added /usr/lib/opengl/xorg-x11/lib to the LDPATH in /etc/env.d/10xorg and re-ran env-update. No help, same result :-(
did you run `opengl-update`?
No, I didn't and this does seem to have fixed the problem :-) It looks as if there's no reference to opengl-update in the ebuild comment for either xorg-x11 nvidia-kernel. Perhaps some advisory einfo output would be appropriate in the post-install notes from the ebuild. I had no idea that this utility existed. Close this bug if you wish, or assign it as a real-time documentation issue.
I'm pretty sure it's somewhere in Gentoo's X or Nvidia docs.
I have the same problem with wxGTK 2.6.2 (2.6.1 compiled just fine). I did try to run "eselect opengl set nvidia" and I also tried to switch to xorg-x11 and back to nvidia and configure still complains it can't find opengl.