Many Programs as MPlayer, glxgears (mesa-progs), Gltron, other Games don0't works if is not hera this link /usr/lib/libGL.so.1 mplayer: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory glxgears: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory ... and so on I must allways link with ln -s /usr/lib/opengl/xorg-x11/lib/libGL.so.1.2 /usr/lib/libGL.so.1 And then I have ls -l /usr/lib/libGL.so.1 lrwxrwxrwx 1 root root 41 Oct 22 17:45 /usr/lib/libGL.so.1 -> /usr/lib/opengl/xorg-x11/lib/libGL.so.1.2 Then all programs works. Reproducible: Always Steps to Reproduce: 1. A clean installation of media-libs/mesa-9999 2. 3. Actual Results: Many Programs don't works, there isn't link /usr/lib/libGL.so.1 Expected Results: That all Programs works
Possibly there is some issue with eselect opengl.
eselect opengl list Available OpenGL implementations: [1] ati * [2] xorg-x11 Install media-libs/mesa-9999 ls -l /usr/lib/libGL.so.1 ls: cannot access /usr/lib/libGL.so.1: No such file or directory eselect opengl list Available OpenGL implementations: [1] ati [2] xorg-x11 * Install media-libs/mesa-9999 ls -l /usr/lib/libGL.so.1 ls: cannot access /usr/lib/libGL.so.1: No such file or directory This has no issue with OpenGL implementations, this is a fault in the ebuild from X11 Overlay.
Please paste the output of: $ ls -l /usr/lib/opengl/xorg-x11/lib Thank you.
(In reply to comment #3) > Please paste the output of: > > $ ls -l /usr/lib/opengl/xorg-x11/lib > > Thank you. > ls -l /usr/lib/opengl/xorg-x11/lib total 624 lrwxrwxrwx 1 root root 10 2010-10-23 14:14 libGL.so -> libGL.so.1 lrwxrwxrwx 1 root root 12 2010-10-23 14:14 libGL.so.1 -> libGL.so.1.2 -rwxr-xr-x 1 root root 633824 2010-10-23 14:14 libGL.so.1.2
Ok, I am able to reproduce it. After removing /usr/lib/libGL*, eselect-opengl does link libGL.so only.
On the other hand, I don't seem to have problems with that. Could you paste as well the output of: $ cat /etc/ld.so.conf
# cat /etc/ld.so.conf # ld.so.conf autogenerated by eselect # Make all changes to /etc/env.d files /usr/local/lib include ld.so.conf.d/*.conf /usr/lib32/opengl/ati/lib /usr/lib64/opengl/ati/lib /lib /usr/lib /lib64 /usr/lib64 /usr/local/lib64 /lib32 /usr/lib32 /usr/local/lib32 /usr/x86_64-pc-linux-gnu/lib /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5 /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/32 /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3 /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/32 //usr/lib64/xulrunner-1.9.2 /usr/lib/qt4 /usr/lib64/qt4 /usr/lib32/qt4 /usr/qt/3/lib /usr/qt/3/lib64 /usr/qt/3/lib32 /usr/lib64/postgresql-8.4/lib64 /usr/games/lib /usr/games/lib64 /usr/games/lib32 /usr/lib64/fltk-1.1 /usr/lib64/fltk /usr/GNUstep/System/Library/Libraries /usr/GNUstep/Local/Library/Libraries /usr/lib32/libstdc++-v3/
Ah, forgot about ati. Please then paste as well: $ ls -l /usr/lib64/opengl/ati/lib
# ls -l /usr/lib64/opengl/ati/lib total 844 -rwxr-xr-x 1 root root 859736 2010-10-10 19:54 FGL.renamed.libGL.so.1.2
(In reply to comment #9) > # ls -l /usr/lib64/opengl/ati/lib > total 844 > -rwxr-xr-x 1 root root 859736 2010-10-10 19:54 FGL.renamed.libGL.so.1.2 This does not look good, almost as if you have run the proprietary fglrx installer (which is known to break eselect opengl).
I run now only OpenSource Radeon Driver with KMS, which run best x11-drivers/xf86-video-ati Before I have try to use, but this binary is unusable x11-drivers/ati-drivers I have also had something in /etc/modprobe.d from this binary Driver, which had blacklisted radeon Driver :( After I have deleted this blow, Radeon works very good. I think this is something wrong with deinstallation of x11-drivers/ati-drivers Thanks,
I have deleted folder rm -fr /usr/lib64/opengl/ati/lib Reinstalled x11-drivers/xf86-video-ati media-libs/mesa Have only this links, this is enough ls -l /usr/lib/libGL.so* lrwxrwxrwx 1 root root 32 2010-10-24 12:53 /usr/lib/libGL.so -> opengl/xorg-x11/lib/libGL.so.1.2 Mplayer and others Programs works. Thanks for Yours Patience. Regards,
I guess eselect-opengl should be able to warn whenever such a case is in effect.
it's very odd but I've never installed the ati-drivers outside of using emerge and I have this issue too. I don't appear to be the only one either.