Gentoo Archives: gentoo-amd64

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