View previous topic :: View next topic |
Author |
Message |
yellowhat Guru
Joined: 10 Sep 2008 Posts: 528
|
Posted: Mon Mar 22, 2010 4:06 pm Post subject: [Solved] libGL.so Missing |
|
|
Hi all.
Today I decided to switch to open source driver, so I deleted ati-drivers, and I am trying to update my xorg-server to 1.7.6
But When it is emerging libdrm-9999, it gives me that it can't found libGL.so.1.
So I searched in /usr/lib and I found libGL.so, but it is linked to /usr/lib/opengl/xorg-x11/lib/libGL.so.1.2 but this file doesn't exist.
So how can I regenerate libGL? Which package?
Thanks
Last edited by yellowhat on Mon Mar 22, 2010 6:16 pm; edited 1 time in total |
|
Back to top |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Mon Mar 22, 2010 4:13 pm Post subject: |
|
|
The /usr/lib/opengl/xorg-x11/lib/libGL.so.1.2
belongs to media-libs/mesa |
|
Back to top |
|
|
yellowhat Guru
Joined: 10 Sep 2008 Posts: 528
|
Posted: Mon Mar 22, 2010 4:17 pm Post subject: |
|
|
But i can't emerge mesa without emerge libdrm before.
I tried emerge --oneshot --nodeps mesa but it gives me the error that libdrm is not installed. |
|
Back to top |
|
|
yellowhat Guru
Joined: 10 Sep 2008 Posts: 528
|
Posted: Mon Mar 22, 2010 6:15 pm Post subject: |
|
|
I solved copy a libGL.so.1.2 from internet to /usr/lib/opengl/xorg-x11/lib/. And emerge xorg-server and now it works.
Thank you all |
|
Back to top |
|
|
dahoste Tux's lil' helper
Joined: 01 Dec 2005 Posts: 138 Location: Maryland, USA
|
Posted: Fri Apr 16, 2010 4:09 pm Post subject: |
|
|
Well... I have /usr/lib/opengl/xorg-x11/lib/libGL.so.1.2. What I don't have is /usr/lib/libGL.so.1.
I've rebuilt xorg-server, mesa, and libdrm. Doesn't matter. libGL.so.1 never shows up. I've revdep-rebuild'd, and used lafilefixer (not really expecting that to help).
Without libGL.so.1, nothing involving 3D works. glxinfo says:
Code: | glxinfo: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory |
Here are the versions involved:
Code: | [ebuild R ] x11-base/xorg-server-1.7.6 USE="hal nptl sdl xorg -debug -dmx -ipv6 -kdrive -minimal -tslib" 0 kB
[ebuild R ] media-libs/mesa-7.7.1 USE="nptl xcb -debug (-gallium) -motif -pic (-selinux)" VIDEO_CARDS="radeon -intel -mach64 -mga -none -nouveau -r128 -radeonhd -savage -sis (-sunffb) -svga -tdfx -via" 0 kB
[ebuild R ] x11-libs/libdrm-2.4.18_pre20100211-r1 USE="-debug" |
Any suggestions? I figure I could probably just do the symlink myself, but would much prefer to figure out why portage activity hasn't done the right thing. |
|
Back to top |
|
|
dahoste Tux's lil' helper
Joined: 01 Dec 2005 Posts: 138 Location: Maryland, USA
|
Posted: Fri Apr 16, 2010 4:29 pm Post subject: |
|
|
ok, wait... somehow my 'eselect opengl' had gotten set to 'ati', instead of 'xorg-x11'.
Why is 'ati' even listed? I don't think this machine has ever had anything but x11-drivers/xf86-video-ati. Is there a way for me to get rid of the 'ati' option, since it obviously isn't valid?
Anyway, when I eselect back to 'xorg-x11', all's well. DRI fully functional. Sorry about the false libGL report. |
|
Back to top |
|
|
|