[R] Error install rgl package on linux

Peter Dalgaard p.dalgaard at biostat.ku.dk
Wed Jul 12 15:57:53 CEST 2006


"Muhammad Subianto" <msubianto at gmail.com> writes:


> QuadSet.o RenderContext.o render.o rglview.o scene.o select.o Shape.o
> SphereMesh.o SphereSet.o SpriteSet.o String.o Surface.o TextSet.o
> Texture.o TriangleSet.o types.o Viewpoint.o win32gui.o win32lib.o
> x11gui.o x11lib.o -L -lX11 -lXext -lGL -lGLU -L/usr/lib -lpng12
> -L/usr/lib/R/lib -lR
> /usr/bin/ld: cannot find -lXext
> collect2: ld returned 1 exit status
> make: *** [rgl.so] Error 1

...

> I think the error about missing devel-libraries on my fc5 but I do not
> know which libraries are. I apologize for my poor linux knowledge and
> expertise. Thank you very much.

I have

[pd at titmouse2 R]$ locate Xext
/usr/include/X11/extensions/Xext.h
/usr/include/X11/extensions/panoramiXext.h
/usr/lib/libXext.so
/usr/lib/libXext.so.6
/usr/lib/libXext.so.6.4.0
/usr/share/doc/libXext-1.0.0
.....


[pd at titmouse2 R]$ rpm -qf `locate Xext`
xorg-x11-proto-devel-7.0-6
xorg-x11-proto-devel-7.0-6
libXext-devel-1.0.0-3.2
libXext-1.0.0-3.2
....

In general, if you get an error about a missing -lfoo, installing RPMs
for libfoo and libfoo-devel is the first thing to try.



-- 
   O__  ---- Peter Dalgaard             Øster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)                  FAX: (+45) 35327907



More information about the R-help mailing list