Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] mesa build failure
Date: Fri, 26 Jun 2009 19:02:51
Message-Id: 200906262101.16825.alan.mckinnon@gmail.com
In Reply to: Re: [gentoo-user] mesa build failure by Mark Knecht
1 On Friday 26 June 2009 20:23:31 Mark Knecht wrote:
2 > On Fri, Jun 26, 2009 at 10:57 AM, Alan McKinnon<alan.mckinnon@×××××.com>
3 wrote:
4 > > On Friday 26 June 2009 18:43:37 Mark Knecht wrote:
5 > >> Yep. did all those earlier and saw this OpenGL problem with eselect.
6 > >> Sort of disregarded it at the time and figured it would get worked out
7 > >> later but now it's in the way.
8 > >
9 > > So what exactly did eselect say at the time?
10 > >
11 > > Therein likely lies the solution to your problem.
12 >
13 > Well, at the time it seems I remember two options for eselect list
14 > opengl, but at this point I'm seeing only 1. Anyway, trying to set it
15 > to 1 causes the same error message I remember:
16 >
17 > myth12 ~ # eselect opengl list
18 > Available OpenGL implementations:
19 > [1] xorg-x11
20 > myth12 ~ # eselect opengl set 1
21 > Switching to xorg-x11 OpenGL interface...ln: creating symbolic link
22 > `./libglx.so': File exists
23
24 OK, I think this is your clue.
25
26 /usr/lib64/xorg/modules/extensions/libglx.so is merely a symlink. eselect
27 opengl creates it by linking to the openGL implementation you choose -
28 mesa/nvidia/whatever.
29
30 I think you had a regular file there, put there by Xorg and eselect can
31 overwrite it with a symlink.
32
33 Are you upgrading from an ancient xorg?
34 > !!! Error: Failed to create lib/libglx.so
35 > Killed
36 > myth12 ~ #
37 >
38 > myth12 ~ # slocate libglx
39 > /usr/lib/opengl/xorg-x11/extensions/libglx.so
40 > /usr/lib/xorg/modules/extensions/libglx.so
41 > myth12 ~ # ls -al /usr/lib/opengl/xorg-x11/extensions/libglx.so
42 > -rwxr-xr-x 1 root root 338584 Jun 23 16:41
43 > /usr/lib/opengl/xorg-x11/extensions/libglx.so
44 > myth12 ~ # ls -al /usr/lib/opengl/xorg-x11/extensions/
45 > total 344
46 > drwxr-xr-x 2 root root 4096 Jun 23 16:42 .
47 > drwxr-xr-x 5 root root 4096 Jun 23 16:42 ..
48 > -rwxr-xr-x 1 root root 338584 Jun 23 16:41 libglx.so
49 > myth12 ~ #
50
51 Yes, that is what happened. So the emerge -C xorg-server; emerge -av xorg-
52 server you mention later is probably the correct approach.
53
54
55 --
56 alan dot mckinnon at gmail dot com