Gentoo Archives: gentoo-amd64

From: "Hemmann
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] libGL can't be found...
Date: Sat, 04 Feb 2006 12:35:05
Message-Id: 200602041333.26221.volker.armin.hemmann@tu-clausthal.de
In Reply to: Re: [gentoo-amd64] libGL can't be found... by Hamish Marson
1 On Saturday 04 February 2006 11:30, Hamish Marson wrote:
2 > Hemmann, Volker Armin wrote:
3 > > On Sunday 29 January 2006 22:18, Hamish Marson wrote:
4 > >> Hemmann, Volker Armin wrote:
5 > >>> On Sunday 29 January 2006 12:59, Hamish Marson wrote:
6 > >>>> I've updated recently but am having problems with whatever
7 > >>>> changes were made to the opengl support in Gentoo ~amd64
8 > >>>> (recently?). Bascially if I try to emerge anythig using
9 > >>>> opengl, I just get errors that libGL can't be found.
10 > >>>>
11 > >>>> Now xorg-x11 has installed it's opengl stuff in
12 > >>>> /usr/lib/opengl/xorg-x11/lib/* and I've done an eselect to
13 > >>>> select xorg-x11 as the current opengl implementation. But
14 > >>>> still nothing finds it...
15 > >>>>
16 > >>>> Where exactly SHOULD the linking stages be looking for opengl
17 > >>>> libs? (Including GLUT etc). And if they're not there by
18 > >>>> default because you can eselect between different
19 > >>>> implementations, why doesn't eselect put them where they
20 > >>>> should be when it's told?
21 > >>>
22 > >>> /usr/lib
23 > >>>
24 > >>> ls -lh /usr/lib/libGL* lrwxrwxrwx 1 root root 42 29. Jan 04:39
25 > >>> /usr/lib/libGLcore.so ->
26 > >>> //usr/lib64/opengl/nvidia/lib/libGLcore.so -rw-r--r-- 1 root
27 > >>> root 731 29. Jan 04:39 /usr/lib/libGL.la lrwxrwxrwx 1 root root
28 > >>> 38 29. Jan 04:39 /usr/lib/libGL.so ->
29 > >>> //usr/lib64/opengl/nvidia/lib/libGL.so -rw-r--r-- 1 root root
30 > >>> 752 19. Jan 04:25 /usr/lib/libGLU.la lrwxrwxrwx 1 root root 11
31 > >>> 19. Jan 04:25 /usr/lib/libGLU.so -> libGLU.so.1 lrwxrwxrwx 1
32 > >>> root root 20 19. Jan 04:25 /usr/lib/libGLU.so.1 ->
33 > >>> libGLU.so.1.3.060401 lrwxrwxrwx 1 root root 20 19. Jan 04:25
34 > >>> /usr/lib/libGLU.so.1.3 -> libGLU.so.1.3.060401 -rwxr-xr-x 1
35 > >>> root root 509K 19. Jan 04:25 /usr/lib/libGLU.so.1.3.060401
36 > >>> lrwxrwxrwx 1 root root 11 19. Jan 04:25 /usr/lib/libGLw.so ->
37 > >>> libGLw.so.1 lrwxrwxrwx 1 root root 15 19. Jan 04:25
38 > >>> /usr/lib/libGLw.so.1 -> libGLw.so.1.0.0 lrwxrwxrwx 1 root root
39 > >>> 15 19. Jan 04:25 /usr/lib/libGLw.so.1.0 -> libGLw.so.1.0.0
40 > >>> -rwxr-xr-x 1 root root 26K 19. Jan 04:25
41 > >>> /usr/lib/libGLw.so.1.0.0
42 > >>>
43 > >>> control the symlinks.
44 > >>>
45 > >>> If the linker does not look into /usr/lib something is extremly
46 > >>> broken.
47 > >>
48 > >> No, the linker is looking in /usr/lib, but it's gentoo that
49 > >> doesn't seem to want to put the libGL etc in /usr/lib...
50 > >
51 > > because it puts the symlinks there and libGL* into
52 > > /usr/lib64/opengl/...
53 > >
54 > > so, are the symlinks there?
55 > >
56 > > if not, retry with setting xorg-x11, then nvidia or ati.
57 >
58 > Sorry for any confusion. When I said no the libs aren't in there, I
59 > meant symlinks as well. (Since that's effectively put them in there).
60 >
61 > I only have xorg-x11 installed. The ATI rubbsh never works for me
62 > because they don't & aren't interested in supporting the PCI-ID of my
63 > card (Saphire9600 256MB job). [Besides which I abhore proprietary
64 > drivers. To the extent that I think I'll go OGP when it comes out if I
65 > can afford it - but I digress].
66 >
67 > I gather eselect is SUPPOSED to put the symlinks in there... Any tips
68 > if it doesn't?
69 >
70
71 ok, in that case look into /usr/lib/opengl/libs
72 you should find there is librarys&symlinks:
73 s -lh /usr/lib/opengl/xorg-x11/lib/
74 insgesamt 545K
75 -rw-r--r-- 1 root root 763 30. Jan 02:29 libGL.la
76 lrwxrwxrwx 1 root root 12 30. Jan 02:29 libGL.so -> libGL.so.1.2
77 lrwxrwxrwx 1 root root 12 30. Jan 02:29 libGL.so.1 -> libGL.so.1.2
78 -rwxr-xr-x 1 root root 537K 30. Jan 02:29 libGL.so.1.2
79
80 cd into /usr/lib and create symlinks from the libs
81 in /usr/lib/opengl(/xorg-x11 to /usr/lib
82
83 after that go into /usr/lib/xorg/modules/extensions/ and create symlinks
84 to /usr/lib/opengl/xorg-x11/extensions/libglx*
85 --
86 gentoo-amd64@g.o mailing list

Replies

Subject Author
Re: [gentoo-amd64] libGL can't be found... Hamish Marson <hamish@××××××××××××××.com>