[R] rgl build warnings and loading error on Linux

Duncan Murdoch murdoch at stats.uwo.ca
Mon Mar 17 23:45:18 CET 2008


Liviu Andronic wrote:
> On Sun, Mar 16, 2008 at 10:00 PM, Duncan Murdoch <murdoch at stats.uwo.ca> wrote:
>   
>>  It sounds as though it is not finding the OpenGL libs when it
>>  configures.  That function should be in libGL.so.
>>     
>
> This is what I have on my system:
> localhost liviu # locate libGL.so
> /usr/lib/opengl/xorg-x11/lib/libGL.so.1
> /usr/lib/opengl/xorg-x11/lib/libGL.so.1.2
> /usr/lib/opengl/xorg-x11/lib/libGL.so
> /usr/lib/libGL.so
>
> However, the funny thing is that "/usr/lib/libGL.so" belongs to no
> package, while the other libGL.so belongs to media-libs/mesa.
> localhost liviu # equery b /usr/lib/libGL.so
> [ Searching for file(s) /usr/lib/libGL.so in *... ]
>
> localhost liviu # equery b /usr/lib/opengl/xorg-x11/lib/libGL.so
> [ Searching for file(s) /usr/lib/opengl/xorg-x11/lib/libGL.so in *... ]
> media-libs/mesa-7.0.2 (/usr/lib/opengl/xorg-x11/lib/libGL.so -> libGL.so.1.2)
>
> localhost liviu # eix media-libs/mesa
> [I] media-libs/mesa
>      Available versions:  6.5.2-r1 (~)7.0.2
>      Installed versions:  7.0.2(22:55:32 26/02/08)
>
> Do you think removing /usr/lib/libGL.so is reasonable?
>   

You'd need to ask a Gentoo expert that.  I have very little experience 
with Linux, and none with Gentoo.

But if you can determine which one of those rgl attempts to load, it 
would make sense to temporarily disable that one just to see if it helps.

Duncan Murdoch



More information about the R-help mailing list