Gentoo Archives: gentoo-user

From: Iain Buchanan <iaindb@××××××××××××.au>
To: gentoo-user@l.g.o
Subject: [gentoo-user] emerge swt failed: cannot find -lGL
Date: Wed, 18 Oct 2006 01:29:26
Message-Id: 1161134707.9922.15.camel@orpheus
1 Hi all,
2
3 I was just performing a routing update recently, and swt failed with
4 this error:
5
6 * Building OpenGL component
7 cc -O -Wall -DSWT_VERSION=3232 -DLINUX -DGTK
8 -I/opt/blackdown-jdk-1.4.2.03/include
9 -I/opt/blackdown-jdk-1.4.2.03/include/linux -fPIC -c glx.c
10 cc -O -Wall -DSWT_VERSION=3232 -DLINUX -DGTK
11 -I/opt/blackdown-jdk-1.4.2.03/include
12 -I/opt/blackdown-jdk-1.4.2.03/include/linux -fPIC -c glx_structs.c
13 cc -O -Wall -DSWT_VERSION=3232 -DLINUX -DGTK
14 -I/opt/blackdown-jdk-1.4.2.03/include
15 -I/opt/blackdown-jdk-1.4.2.03/include/linux -fPIC -c glx_stats.c
16 cc -shared -fPIC -shared -fPIC -L/usr/X11R6/lib -lGL -lGLU -lm -o
17 libswt-glx-gtk-3232.so swt.o glx.o glx_structs.o glx_stats.o
18 /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lGL
19 collect2: ld returned 1 exit status
20 make: *** [libswt-glx-gtk-3232.so] Error 1
21
22 !!! ERROR: dev-java/swt-3.2-r2 failed.
23 Call stack:
24 ebuild.sh, line 1568: Called dyn_compile
25 ebuild.sh, line 937: Called src_compile
26 swt-3.2-r2.ebuild, line 141: Called die
27
28 !!! Unable to build OpenGL component
29 !!! If you need support, post the topmost build error, and the call
30 stack if relevant.
31
32 now, I've had "cannot find -l<blah> before, and a revdep-rebuild or
33 something usually fixes it. In this case however, I couldn't get around
34 it.
35
36 I have been swapping between xorg's x11-drm radeon driver, and ATI's
37 fglrx driver recently - but I've used eselect correctly - I'm now using
38 the x11-drm driver.
39
40 I don't know what to look at next - any hints?
41 thanks,
42 --
43 Iain Buchanan <iaindb at netspace dot net dot au>
44
45 Familiarity breeds contempt -- and children.
46 -- Mark Twain
47
48 --
49 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] emerge swt failed: cannot find -lGL Iain Buchanan <iaindb@××××××××××××.au>