[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

[pd at titmouse2 R]$ rpm -qf `locate Xext`

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