[R] rgl build warnings and loading error on Linux
Prof Brian Ripley
ripley at stats.ox.ac.uk
Wed Apr 9 18:11:42 CEST 2008
We'll need to see the output from install.packages("rgl") to have much
R CMD ldd /usr/lib/R/library/rgl/libs/rgl.so
would also be informative.
On Wed, 9 Apr 2008, Duncan Murdoch wrote:
> On 4/9/2008 10:53 AM, Liviu Andronic wrote:
>> 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 <cberry at tajo.ucsd.edu> wrote:
>>> Below substitute 'nvidia-drivers' or whatever you use for
>>> emerge -D mesa <your-video-drivers>
>>> revdep-rebuild -X
>> 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:
>> Error in dyn.load("/usr/lib/R/library/rgl/libs/rgl.so") :
>> unable to load shared library '/usr/lib/R/library/rgl/libs/rgl.so':
>> /usr/lib/R/library/rgl/libs/rgl.so: 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?
> glNormal3f and glTexCoordPointer are both OpenGL entry points used by
> rgl, so the messages are indicating a linking problem. But I don't know
> enough about Linux to recognize whether that's because of something
> wrong with Gentoo or what you did, or something wrong with the rgl
> configure script.
> Duncan Murdoch
>> Thank you in advance,
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help