Re: [R] rgl build warnings and loading error on Linux

From: Liviu Andronic <>
Date: Wed, 09 Apr 2008 16:53:49 +0200

Dear R users,

This is a follow-up of a recent discussion on building rgl on Gentoo Linux. Please read bellow.

On Tue, Mar 18, 2008 at 7:24 PM, Charles C. Berry <> wrote:
> Below substitute 'nvidia-drivers' or whatever you use for
> <your-video-drivers>
> emerge -D mesa <your-video-drivers>
> revdep-rebuild -X
> R
> install.packages("rgl")

I have entirely updated my system using "emerge -tva -DNu world", also meaning that I switched to R version 2.6.2. I have rebuilt all packages broken by this update using "revdep-rebuild -i -tva -X". Just to make sure, afterwards I have also "emerge -tva mesa xf86-video-i810". My mesa USE flags look like this: localhost liviu # eix mesa

     Installed versions: 7.0.2(15:23:17 09/04/08)(video_cards_i810 -debug -doc -kernel_FreeBSD -motif -nptl -pic [..])

Building and loading rgl has only switched the error message:
> dyn.load("/usr/lib/R/library/rgl/libs/")
Error in dyn.load("/usr/lib/R/library/rgl/libs/") :   unable to load shared library '/usr/lib/R/library/rgl/libs/':   /usr/lib/R/library/rgl/libs/ undefined symbol: glNormal3f

Previously it was: "undefined symbol: glTexCoordPointer".

Does this look like an rgl or a Gentoo Linux issue? Would any of the disabled mesa USE flags be worth enabling?

Thank you in advance,
Liviu mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Wed 09 Apr 2008 - 14:58:48 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 09 Apr 2008 - 19:30:26 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive