Re: [R] Error install rgl package on linux

From: Peter Dalgaard <p.dalgaard_at_biostat.ku.dk>
Date: Wed 12 Jul 2006 - 23:57:53 EST

"Muhammad Subianto" <msubianto@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@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@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@biostat.ku.dk)                  FAX: (+45) 35327907

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Thu Jul 13 00:10:35 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 13 Jul 2006 - 02:18:12 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.