[R] Error install rgl package on linux
Muhammad Subianto
msubianto at gmail.com
Wed Jul 12 16:57:18 CEST 2006
On this day 12/07/2006 15:57, Peter Dalgaard wrote:
> "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.
>
>
>
Thank you for giving me so much of your time to provide an explanation
of installing RPMs. After I installed "libXext-devel" and then
> options(repos=c(CRAN="http://cran.at.r-project.org/"))
> install.packages("rgl", lib="/home/subianto/local/lib/R/library/site-packages", dependencies=TRUE)
Yes, it works perfectly. Thanks a lot, to Peter Dalgaard.
Sincerely, Muhammad Subianto
More information about the R-help
mailing list