This problem could, presumably, be more widespread than just mplayer-bin to any 32-bit binary application that links against libGL, however mplayer-bin is the first (and, so far, only) thing that i've hit this with. decibel lib # ldd /opt/mplayer-bin/bin/mplayer-bin | grep -C 2 "not found" libglib-2.0.so.0 => /emul/linux/x86/usr/lib/libglib-2.0.so.0 (0xf75ce000) libaa.so.1 => /emul/linux/x86/usr/lib/libaa.so.1 (0xf75b4000) libGL.so.1 => not found libXv.so.1 => /emul/linux/x86/usr/lib/libXv.so.1 (0xf75ae000) libXxf86vm.so.1 => /emul/linux/x86/usr/lib/libXxf86vm.so.1 (0xf75a9000) decibel lib # I've tried making symlinks, etc, but nothing seems to make ldd find libGL.so.1, which is currently in /usr/lib64/opengl/nvidia/lib/libGL.so.1 Apparently, older mplayer-bin ebuilds are no longer in portage, as masking the one that i've got currently results in not being able to merge any mplayer-bin. decibel lib # equery belongs /usr/lib64/opengl/nvidia/lib/libGL.so.1 [ Searching for file(s) /usr/lib64/opengl/nvidia/lib/libGL.so.1 in *... ] x11-drivers/nvidia-drivers-1.0.9626 (/usr/lib64/opengl/nvidia/lib/libGL.so.1 -> libGL.so.1.0.9626) decibel lib # equery belongs /opt/mplayer-bin/bin/mplayer-bin [ Searching for file(s) /opt/mplayer-bin/bin/mplayer-bin in *... ] media-video/mplayer-bin-1.0_pre8 (/opt/mplayer-bin/bin/mplayer-bin) decibel lib # emerge --info Portage 2.1.2_pre3-r5 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.5-r0, 2.6.18-rc4 x86_64) ================================================================= System uname: 2.6.18-rc4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ Gentoo Base System version 1.12.5 Last Sync: Fri, 20 Oct 2006 04:30:01 +0000 ccache version 2.4 [disabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirror.ovh.net/gentoo-distfiles/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.mirrors.pair.com/ http://gentoo.llarian.net/" MAKEOPTS="-j5" 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 /usr/local/overlays/xgl-coffee /usr/local/overlays/gentoo-webapps-overlay/experimental /usr/local/overlays/gentoo-webapps-overlay/production-ready" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X a52 aac aalib alsa apache2 audacious bash-completion bcmath berkdb bitmap-fonts boost bzip2 cairo calendar cdr cli cracklib crypt cups curl curlwrappers dba dbus dlloader dri dts dv dvb dvd dvdr dvdread elibc_glibc emboss encode esd fam fastcgi fbsplash ffmpeg flac fluxbox foomaticdb fortran freetype gd gif glitz gnupg gnutls gpm gstreamer gtk gtk2 icewm iconv imap imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jabber java jpeg kernel_linux kqemu latex lzw lzw-tiff mailwrapper mikmod mjpeg motif mozdevelop mozilla mp3 mpeg mplayer msn mysql mysqli ncurses nptl nptlonly nsplugin objc offensive oggvorbis openexr opengl oscar oss pam pcre perl php png posix postgresql ppds pppd python qt qt3 qt4 quicktime readline reflection ruby samba sasl sdl sensord session spell spl ssl svg tcpd tetex threads tidy tiff timidity truetype truetype-fonts type1-fonts unicode usb userland_GNU v4l vhosts video_cards_nvidia video_cards_vesa video_cards_vga vorbis wma x264 xfce4 xinerama xml xml2 xmlreader xmlrpc xmms xorg xosd xpm xprint xv xvid xvmc yahoo zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
I experience the same problem, I have a similar HW/SW setup. "eselect opengl set nvidia" successfully tested as a workaround
(In reply to comment #1) > I experience the same problem, I have a similar HW/SW setup. > > "eselect opengl set nvidia" successfully tested as a workaround > I'm running Beryl on the accelerated, beta nvidia drivers, so i've already got the nvidia opengl selected, but I tried anyway to see if it would make any special new symlinks this time. decibel lib # eselect opengl list Available OpenGL implementations: [1] nvidia * [2] xorg-x11 decibel lib # eselect opengl set nvidia Switching to nvidia OpenGL interface... done decibel lib # DISPLAY=":0.0" mplayer-bin /opt/mplayer-bin/bin/mplayer-bin: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory Maybe the fact that it helped you and not me can help the bug-wranglers see what symlinks need to be made. Could you paste the output of `ldd /opt/mplayer-bin/bin/mplayer-bin | grep -i -C 2 libGL`?
I'm sorry, I was trying to see if reverting back to nvidia was of any help, as it was on bug 81899 and pasted the wrong command line. aemaeth ~ # eselect opengl list Available OpenGL implementations: [1] nvidia [2] xorg-x11 * aemaeth ~ # ldd /opt/mplayer-bin/bin/mplayer-bin | grep -i -C 2 libGL libgobject-2.0.so.0 => /emul/linux/x86/usr/lib/libgobject-2.0.so.0 (0xf76e4000) libgmodule-2.0.so.0 => /emul/linux/x86/usr/lib/libgmodule-2.0.so.0 (0xf76e1000) libglib-2.0.so.0 => /emul/linux/x86/usr/lib/libglib-2.0.so.0 (0xf765f000) libaa.so.1 => /emul/linux/x86/usr/lib/libaa.so.1 (0xf7645000) libGL.so.1 => //usr/lib32/opengl/xorg-x11/lib/libGL.so.1 (0xf75e2000) libXv.so.1 => /emul/linux/x86/usr/lib/libXv.so.1 (0xf75dd000) libXxf86vm.so.1 => /emul/linux/x86/usr/lib/libXxf86vm.so.1 (0xf75d7000) aemaeth ~ # eselect opengl set nvidia Switching to nvidia OpenGL interface... done aemaeth ~ # eselect opengl list Available OpenGL implementations: [1] nvidia * [2] xorg-x11 aemaeth ~ # ldd /opt/mplayer-bin/bin/mplayer-bin | grep -i -C 2 libGL libgobject-2.0.so.0 => /emul/linux/x86/usr/lib/libgobject-2.0.so.0 (0xf76d6000) libgmodule-2.0.so.0 => /emul/linux/x86/usr/lib/libgmodule-2.0.so.0 (0xf76d3000) libglib-2.0.so.0 => /emul/linux/x86/usr/lib/libglib-2.0.so.0 (0xf7651000) libaa.so.1 => /emul/linux/x86/usr/lib/libaa.so.1 (0xf7637000) libGL.so.1 => not found libXv.so.1 => /emul/linux/x86/usr/lib/libXv.so.1 (0xf7632000) libXxf86vm.so.1 => /emul/linux/x86/usr/lib/libXxf86vm.so.1 (0xf762c000) Again, sorry for the false information.
re-emerge nvidia drivers, it will fix it ;-) Good luck!
After emerge --sync
(In reply to comment #1) > I experience the same problem, I have a similar HW/SW setup. > > "eselect opengl set nvidia" successfully tested as a workaround > It's not a workaround, it's the solution. nvidia-drivers tells you to do that.
(In reply to comment #6) > (In reply to comment #1) > > I experience the same problem, I have a similar HW/SW setup. > > > > "eselect opengl set nvidia" successfully tested as a workaround > > > > It's not a workaround, it's the solution. nvidia-drivers tells you to do that. > It will not work, it was a stupid error on my side, see backward at comment #3
To make myself clearer: "It will not work, unless you re-emerge nvidia-drivers".