Gentoo Archives: gentoo-amd64

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

Replies

Subject Author
Re: [gentoo-amd64] libGL can't be found... "Hemmann
[gentoo-amd64] Re: libGL can't be found... Duncan <1i5t5.duncan@×××.net>