Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Missing /usr/lib/libGL.la so libdrm will not compile
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
trixtrax
n00b
n00b


Joined: 06 May 2010
Posts: 8

PostPosted: Thu May 06, 2010 9:10 pm    Post subject: Missing /usr/lib/libGL.la so libdrm will not compile Reply with quote

Hello everyone,

So, I have an interesting problem. I am on the road to updating my system up to xwindows 1.7 (from xwindows 1.6.x) and KDE 4.4 (from KDE 4.2).

Wanting to get everything fresh and crispy again, I began to do a emerge -e system. In the process I removed some blocking packages, then reinstalled their counterparts.

One package was mesa.

When trying to install the new mesa 7.7 (from mesa 6.x) it bails out on the compilation of libdrm due to a missing /usr/lib/libGL.la . :oops:

Now, I have no clue how to fix this chicken and egg problem since libdrm is required by mesa, but since mesa isn't installed anymore libdrm is missing /usr/lib/libGL.la so it cannot compile.

My best guess is that on a fresh install, some package provides /usr/lib/libGL.la so that xwindows components that need the file can install up to mesa which provides the file???

Any help would be much appreciated. What I thought would be a short process is now turning into one hard road! 8O Thank you so much!
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1956
Location: 127.0.0.1

PostPosted: Thu May 06, 2010 9:15 pm    Post subject: Reply with quote

Maybe :
Code:

# emerge lafilefixer
# lafilefixer --justfixit
# emerge --oneshot mesa
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54577
Location: 56N 3W

PostPosted: Thu May 06, 2010 9:18 pm    Post subject: Reply with quote

trixtrax,

Welcome to the forums.

Check your
Code:
eselect opengl list
be sure that is shows xorg-x11* as the selected implementaion.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
trixtrax
n00b
n00b


Joined: 06 May 2010
Posts: 8

PostPosted: Thu May 06, 2010 9:52 pm    Post subject: Reply with quote

Thank you both for the suggestions. Thank you for welcoming me to the forums. :)

I have tried lafilefixer, it finishes, but does not fix the problem, because /usr/bin/libGL.la is missing due to my unfortunate uninstall of mesa. Also, mesa 7.7 will not install because it requires libdrm as a dep, which libdrm needs /usr/bin/libGL.la (which is provided by mesa..). So, the chicken and the egg problem.

Also, whatever implementation I select in eselect, the files are still missing due to what I stated above. :(

Hmm...
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6145
Location: Dallas area

PostPosted: Thu May 06, 2010 10:33 pm    Post subject: Reply with quote

x11-libs/libdrm doesn't depend on mesa

Edit to add: Ah, I see an indirect dependency (from following post)
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland


Last edited by Anon-E-moose on Thu May 06, 2010 10:42 pm; edited 1 time in total
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2158
Location: Berlin, Germany

PostPosted: Thu May 06, 2010 10:33 pm    Post subject: Reply with quote

This is because of an automagic cairo dependency. See here or here.
Back to top
View user's profile Send private message
trixtrax
n00b
n00b


Joined: 06 May 2010
Posts: 8

PostPosted: Fri May 07, 2010 2:04 am    Post subject: Reply with quote

chithanh,

It appears it was a cairo issue. Funny, I looked at that bug report, but I received merely an error from libtool saying that the file /usr/lib/libGL.so was missing, so I didn't think that was it. I am sorry I am working for a console so I cannot relay actual console messages. librm did install fine now, I reinstalled cairo as well. Upon trying to install mesa again, I am getting an error in libX11 dealing with libjpeg.so.62 which appears to be a ghostscript-gpl issue. This was a problem I was having in some other apps. So, anyway, I am trying to do a emerge -e system and hopefully it will complete this time and clear up those problems I have been having! :)

I will post here the results either way. Thank you for your assistance.
Back to top
View user's profile Send private message
trixtrax
n00b
n00b


Joined: 06 May 2010
Posts: 8

PostPosted: Sun May 09, 2010 2:36 am    Post subject: Reply with quote

I can confirm that uninstalling cairo, then installing libdrm works and libdrm completes without errors. Thank you all your your help. :)
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