Re: [gentoo-user] emerge swt failed: cannot find -lGL

2006-10-18 Thread Bo Ørsted Andresen
On Wednesday 18 October 2006 03:53, Iain Buchanan wrote:
[SNIP]
 I worked around it by doing this:
 $ cd /usr/lib
 $ sudo ln -s /usr/lib/opengl/ati/lib/libGL.so

 but I don't know that this is the right thing to do - how do I tell if
 it actually works like this?
[SNIP]

# eselect opengl set ati
Switching to ati OpenGL interface... done

# readlink /usr/lib/libGL.so
/usr/lib/opengl/ati/lib/libGL.so

# eselect opengl set xorg-x11
Switching to xorg-x11 OpenGL interface... done

# readlink /usr/lib/libGL.so
/usr/lib/opengl/xorg-x11/lib/libGL.so

-- 
Bo Andresen


pgp43kxJUmVm7.pgp
Description: PGP signature


Re: [gentoo-user] emerge swt failed: cannot find -lGL

2006-10-18 Thread Iain Buchanan
On Wed, 2006-10-18 at 10:04 +0200, Bo Ørsted Andresen wrote:
 On Wednesday 18 October 2006 03:53, Iain Buchanan wrote:
 [SNIP]
  I worked around it by doing this:
  $ cd /usr/lib
  $ sudo ln -s /usr/lib/opengl/ati/lib/libGL.so
 
  but I don't know that this is the right thing to do - how do I tell if
  it actually works like this?
 [SNIP]
 
 # eselect opengl set ati
 Switching to ati OpenGL interface... done
 
 # readlink /usr/lib/libGL.so
 /usr/lib/opengl/ati/lib/libGL.so
 
 # eselect opengl set xorg-x11
 Switching to xorg-x11 OpenGL interface... done
 
 # readlink /usr/lib/libGL.so
 /usr/lib/opengl/xorg-x11/lib/libGL.so

$ sudo eselect opengl set ati
Switching to ati OpenGL interface... done

$ readlink /usr/lib/libGL.so
/usr/lib/opengl/ati/lib/libGL.so

looks fine.

$ sudo eselect opengl set xorg-x11
Switching to xorg-x11 OpenGL interface... done

$ readlink /usr/lib/libGL.so
$ nothing returned

looks wrong!

I did a bit of snooping, and found that libGL.so comes from mesa, so I
re-merged mesa (media-libs/mesa-6.5.1-r1) and it seems to be working
again:

$ readlink /usr/lib/libGL.so
/usr/lib/opengl/xorg-x11/lib/libGL.so

now, can googleearth work with mesa? it seems to lock-up at the splash
screen...

thanks!
-- 
Iain Buchanan iaindb at netspace dot net dot au

  The good oxymoron, to define it by a self-illustration, must be a
  planned inadvertency. -Wilson Follett

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge swt failed: cannot find -lGL

2006-10-17 Thread Iain Buchanan
On Wed, 2006-10-18 at 10:55 +0930, Iain Buchanan wrote:
 Hi all,
 
 I was just performing a routing update recently, and swt failed with
 this error:

 /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: 
 cannot find -lGL

I worked around it by doing this:
$ cd /usr/lib
$ sudo ln -s /usr/lib/opengl/ati/lib/libGL.so

but I don't know that this is the right thing to do - how do I tell if
it actually works like this?

thanks,
-- 
Iain Buchanan iaindb at netspace dot net dot au

FLASH!
Intelligence of mankind decreasing.
Details at ... uh, when the little hand is on the 

-- 
gentoo-user@gentoo.org mailing list