Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] libGL.so Missing
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
yellowhat
Guru
Guru


Joined: 10 Sep 2008
Posts: 528

PostPosted: Mon Mar 22, 2010 4:06 pm    Post subject: [Solved] libGL.so Missing Reply with quote

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
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Mon Mar 22, 2010 4:13 pm    Post subject: Reply with quote

The /usr/lib/opengl/xorg-x11/lib/libGL.so.1.2
belongs to media-libs/mesa
Back to top
View user's profile Send private message
yellowhat
Guru
Guru


Joined: 10 Sep 2008
Posts: 528

PostPosted: Mon Mar 22, 2010 4:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
yellowhat
Guru
Guru


Joined: 10 Sep 2008
Posts: 528

PostPosted: Mon Mar 22, 2010 6:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
dahoste
Tux's lil' helper
Tux's lil' helper


Joined: 01 Dec 2005
Posts: 138
Location: Maryland, USA

PostPosted: Fri Apr 16, 2010 4:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
dahoste
Tux's lil' helper
Tux's lil' helper


Joined: 01 Dec 2005
Posts: 138
Location: Maryland, USA

PostPosted: Fri Apr 16, 2010 4:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum