View previous topic :: View next topic |
Author |
Message |
trixtrax n00b
Joined: 06 May 2010 Posts: 8
|
Posted: Thu May 06, 2010 9:10 pm Post subject: Missing /usr/lib/libGL.la so libdrm will not compile |
|
|
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 .
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! Thank you so much! |
|
Back to top |
|
|
netfab Veteran
Joined: 03 Mar 2005 Posts: 1956 Location: 127.0.0.1
|
Posted: Thu May 06, 2010 9:15 pm Post subject: |
|
|
Maybe :
Code: |
# emerge lafilefixer
# lafilefixer --justfixit
# emerge --oneshot mesa
|
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54577 Location: 56N 3W
|
Posted: Thu May 06, 2010 9:18 pm Post subject: |
|
|
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 |
|
|
trixtrax n00b
Joined: 06 May 2010 Posts: 8
|
Posted: Thu May 06, 2010 9:52 pm Post subject: |
|
|
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 |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6145 Location: Dallas area
|
Posted: Thu May 06, 2010 10:33 pm Post subject: |
|
|
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 |
|
|
chithanh Developer
Joined: 05 Aug 2006 Posts: 2158 Location: Berlin, Germany
|
Posted: Thu May 06, 2010 10:33 pm Post subject: |
|
|
This is because of an automagic cairo dependency. See here or here. |
|
Back to top |
|
|
trixtrax n00b
Joined: 06 May 2010 Posts: 8
|
Posted: Fri May 07, 2010 2:04 am Post subject: |
|
|
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 |
|
|
trixtrax n00b
Joined: 06 May 2010 Posts: 8
|
Posted: Sun May 09, 2010 2:36 am Post subject: |
|
|
I can confirm that uninstalling cairo, then installing libdrm works and libdrm completes without errors. Thank you all your your help. |
|
Back to top |
|
|
|