[R-sig-Fedora] rgl

Martyn Plummer plummerm at iarc.fr
Thu Jan 12 13:57:44 CET 2017


On Thu, 2017-01-12 at 12:45 +0000, Weiner, Michael wrote:
> -----Original Message-----
> From: Martyn Plummer [mailto:plummerm at iarc.fr> Sent: Thursday, January 12, 2017 7:41 AM
> To: Weiner, Michael <weinerm at ccf.org>; r-sig-fedora at r-project.org
> Subject: Re: [R-sig-Fedora] rgl
> 
> > 
> > > 
> > > configure:4429: checking for glEnd in -lGL
> > > configure:4454: gcc -o conftest -g -O2  -DHAVE_PNG_H
> > > -I/usr/include/libpng16  conftest.c -lGL   -L/usr/lib64 -lpng16
> > > -lX11
> > > > 
> > > > &5
> > > /usr/bin/ld: cannot find -lGL
> > 
> > Well that is odd. It means that the linker cannot find libGL even
> > though it is installed on the system. Try 
> > 
> > /sbin/ldconfig -p | grep libGL.so
> > 
> > You should see something like this.
> > 
> > [martyn at braque-iarc-lan minutes]$ /sbin/ldconfig -p | grep libGL.so
> > 	libGL.so.1 (libc6,x86-64) => /lib64/libGL.so.1
> > 	libGL.so.1 (libc6) => /lib/libGL.so.1
> > 	libGL.so (libc6,x86-64) => /lib64/libGL.so
> 
> Odd:
> 
> [root at lri-105689 rgl]# /sbin/ldconfig -p | grep libGL.so
>         libGL.so.1 (libc6,x86-64) => /lib64/libGL.so.1
>         libGL.so.1 (libc6) => /lib/libGL.so.1
>         libGL.so (libc6) => /lib/libGL.so

Yours is not quite the same. I have a link to the 64-bit version of
libGL.so, but you don't. Your link is to the 32-bit version (i.e.
without the qualifier x86-64 in brackets) which you have removed. This
means your linker cache is out of date.

Try /sbin/ldconfig as root (or with sudo) and it should resolve.

Martyn

> ===================================
> 
> 
>  Please consider the environment before printing this e-mail
> 
> Cleveland Clinic is ranked as one of the top hospitals in America by
> U.S.News & World Report (2015).  
> Visit us online at http://www.clevelandclinic.org for a complete
> listing of our services, staff and locations.
> 
> 
> Confidentiality Note:  This message is intended for use
> ...{{dropped:18}}
> 
> _______________________________________________
> R-SIG-Fedora mailing list
> R-SIG-Fedora at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-fedora-----------------------------------------------------------------------
This message and its attachments are strictly confidenti...{{dropped:8}}



More information about the R-SIG-Fedora mailing list