| Summary: | x11-apps/mesa-progs-7.3 fails to compile | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | 7v5w7go9ub0o <7v5w7go9ub0o> |
| Component: | [OLD] Core system | Assignee: | Gentoo X packagers <x11> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | eselect |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
7v5w7go9ub0o
2009-04-07 15:20:41 UTC
I had this same problem after unmerging nvidia-drivers (because the legacy drivers do not yet support xorg-server-1.5). I fixed it by doing # rm /usr/lib/libGL.so # eselect opengl list Available OpenGL implementations: [1] xorg-x11 # eselect opengl set 1 Switching to xorg-x11 OpenGL interface... done [redo emerge] If this also fixes it for you, I suppose the bug should be: "Gentoo does not switch back to the correct OpenGL implementation after nvidia-drivers are unmerged" (In reply to comment #1) > I had this same problem after unmerging nvidia-drivers (because the legacy > drivers do not yet support xorg-server-1.5). > > I fixed it by doing > # rm /usr/lib/libGL.so > # eselect opengl list > Available OpenGL implementations: > [1] xorg-x11 > # eselect opengl set 1 > Switching to xorg-x11 OpenGL interface... done > > [redo emerge] > > If this also fixes it for you, I suppose the bug should be: "Gentoo does not > switch back to the correct OpenGL implementation after nvidia-drivers are > unmerged" > Thank you for the response!! I think you have it figured out - except it may be a little more convoluted. I followed your steps and got the same compilation error (and IIRC, the manual advises us to use eselect to set the link, which I did) ...... However: 1. The /usr/lib64/libGL.so and /usr/lib32/libGL.so links were sitting out there pointing to nowhere. 2. Rerunning the eselect opengl set 1 statement resulted in: "Switching to xorg-x11 OpenGL interface...ln: creating symbolic link `./libGL.so': File exists !!! Error: Failed to create /usr/lib32/libGL.so Killed" 3. So I cd'd to each of the /usr/libs and manually set the links: ln -s /usr/lib64/opengl/xorg-x11/lib/libGL.so libGL.so ln -s /usr/lib32/opengl/xorg-x11/lib/libGL.so libGL.so 4. mesa-progs compiled fine. So your description of the problem is correct; but there may also be an eselect issue, and in my case it may be a "multilib" issue as well. Thanks again! Might be related to bug #228547 (or even a dupe). bug #238686 reports the same for x11-drivers/ati-drivers package. Don't know where to put this; I'll start here: After getting mesa-progs successfully compiled, I completed the upgrade to xorg-server-1.5.3-r5. Startx failed after being unable to locate libGL.so. The links to libGL.so located in /usr/lib/xorg/modules/extensions were also pointing off to nowhere (to the /usr/lib/opengl/nvidia/... location). I replaced those links manually as well, and everything worked*. * well..... worked after I recompiled the nv (wrong version) and mouse drivers (not found). I'm guessing that they got borked because I bypassed the original mesa-progs update. JEEZE! In theory, this bug is now properly fixed. In any case, mesa-progs wasn't the package to be broken. If you still have libGL build issues, please don't hesitate to reopen this bug. Thanks |