[R] rgl build warnings and loading error on Linux

Liviu Andronic landronimirc at gmail.com
Tue Mar 18 12:39:08 CET 2008


On Mon, Mar 17, 2008 at 11:07 PM, Liviu Andronic <landronimirc at gmail.com> wrote:
>  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.

I moved "/usr/lib/libGL.so" to "/usr/lib/libGL.so.bak" (it seemed like
a broken soft link) and recreated a "/usr/lib/libGL.so" that linked to
"/usr/lib/opengl/xorg-x11/lib/libGL.so.1.2".
liviu at localhost ~ $ ls -l /usr/lib/libGL.so
lrwxrwxrwx 1 root root 32 2008-03-18 12:16 /usr/lib/libGL.so ->
opengl/xorg-x11/lib/libGL.so.1.2

However, the problem was not solved. A rebuilt rgl generates the same
error on library load:
> dyn.load("/usr/lib/R/library/rgl/libs/rgl.so")
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: glTexCoordPointer

Is there anything else that I could try?



More information about the R-help mailing list