Gentoo Archives: gentoo-user

From: Iain Buchanan <iaindb@××××××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] emerge swt failed: cannot find -lGL
Date: Wed, 18 Oct 2006 12:02:41
Message-Id: 1161172472.4837.6.camel@orpheus
In Reply to: Re: [gentoo-user] emerge swt failed: cannot find -lGL by "Bo Ørsted Andresen"
1 On Wed, 2006-10-18 at 10:04 +0200, Bo Ørsted Andresen wrote:
2 > On Wednesday 18 October 2006 03:53, Iain Buchanan wrote:
3 > [SNIP]
4 > > I worked around it by doing this:
5 > > $ cd /usr/lib
6 > > $ sudo ln -s /usr/lib/opengl/ati/lib/libGL.so
7 > >
8 > > but I don't know that this is the right thing to do - how do I tell if
9 > > it actually works like this?
10 > [SNIP]
11 >
12 > # eselect opengl set ati
13 > Switching to ati OpenGL interface... done
14 >
15 > # readlink /usr/lib/libGL.so
16 > /usr/lib/opengl/ati/lib/libGL.so
17 >
18 > # eselect opengl set xorg-x11
19 > Switching to xorg-x11 OpenGL interface... done
20 >
21 > # readlink /usr/lib/libGL.so
22 > /usr/lib/opengl/xorg-x11/lib/libGL.so
23
24 $ sudo eselect opengl set ati
25 Switching to ati OpenGL interface... done
26
27 $ readlink /usr/lib/libGL.so
28 /usr/lib/opengl/ati/lib/libGL.so
29
30 looks fine.
31
32 $ sudo eselect opengl set xorg-x11
33 Switching to xorg-x11 OpenGL interface... done
34
35 $ readlink /usr/lib/libGL.so
36 $ <nothing returned>
37
38 looks wrong!
39
40 I did a bit of snooping, and found that libGL.so comes from mesa, so I
41 re-merged mesa (media-libs/mesa-6.5.1-r1) and it seems to be working
42 again:
43
44 $ readlink /usr/lib/libGL.so
45 /usr/lib/opengl/xorg-x11/lib/libGL.so
46
47 now, can googleearth work with mesa? it seems to lock-up at the splash
48 screen...
49
50 thanks!
51 --
52 Iain Buchanan <iaindb at netspace dot net dot au>
53
54 The good oxymoron, to define it by a self-illustration, must be a
55 planned inadvertency. -Wilson Follett
56
57 --
58 gentoo-user@g.o mailing list