----Original Message----- From: Martyn Plummer [mailto:plummerm at iarc.fr] Sent: Thursday, January 12, 2017 3:36 AM To: Weiner, Michael <weinerm at ccf.org>; r-sig-fedora at r-project.org Subject: Re: [R-sig-Fedora] rgl>One possibility is that you have the 32-bit version of mesa-libGL-devel installed. This will provide the headers but not the 64-bit l>ibrary which is what you need (I can see this from the compiler flag -m64). > >If that is not the problem then you need to look at the configure log. >The log is normally erased, but you can preserve it by unpacking the source tarball and building from the resulting directory on the >command >line: > >tar xfvz rgl_0.97.0.tar.gz >R CMD INSTALL rgl > >Then open the file 'rgl/config.log' with your favourite editor and search for "glEnd".I actually had both on the system, removed the 32-bit version and reinstalled the 64-bit version but I am seeing only this in the config.log: 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 collect2: error: ld returned 1 exit status configure:4454: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define HAVE_VISIBILITY_ATTRIBUTE 1 | #define HAVE_GL_GL_H 1 | #define HAVE_GL_GLU_H 1 | /* end confdefs.h. */ ================================== 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}}
On Thu, 2017-01-12 at 12:29 +0000, Weiner, Michael wrote:> ----Original Message----- > From: Martyn Plummer [mailto:plummerm at iarc.fr]? > Sent: Thursday, January 12, 2017 3:36 AM > To: Weiner, Michael <weinerm at ccf.org>; r-sig-fedora at r-project.org > Subject: Re: [R-sig-Fedora] rgl > > > > > One possibility is that you have the 32-bit version of mesa-libGL-devel installed. This will provide the headers but not the 64-bit l>ibrary which is what you need (I can see this from the compiler flag -m64). > > > > If that is not the problem then you need to look at the configure log. > > The log is normally erased, but you can preserve it by unpacking the source tarball and building from the resulting directory on the >command > > line: > > > > tar xfvz rgl_0.97.0.tar.gz > > R CMD INSTALL rgl > > > > Then open the file 'rgl/config.log' with your favourite editor and > > search for "glEnd". > > I actually had both on the system, removed the 32-bit version and > reinstalled the 64-bit version but I am seeing only this in the > config.log: > > 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 -lGLWell 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 If you don't see the entry pointing to /lib64/libGL.so then type sudo /sbin/ldconfig and try again. Martyn> collect2: error: ld returned 1 exit status > configure:4454: $? = 1 > configure: failed program was: > > > > /* confdefs.h */ > > #define PACKAGE_NAME "" > > #define PACKAGE_TARNAME "" > > #define PACKAGE_VERSION "" > > #define PACKAGE_STRING "" > > #define PACKAGE_BUGREPORT "" > > #define PACKAGE_URL "" > > #define HAVE_VISIBILITY_ATTRIBUTE 1 > > #define HAVE_GL_GL_H 1 > > #define HAVE_GL_GLU_H 1 > > /* end confdefs.h.??*/ > > ==================================> > > ?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}}
-----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.soOdd: [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 ================================== 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}}
-----Original Message----- From: Weiner, Michael Sent: Thursday, January 12, 2017 7:46 AM To: r-sig-fedora at r-project.org Subject: RE: [R-sig-Fedora] rgl -----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.soOdd: [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 I resolved this by reinstalling mesa-libGL (dnf reinstall libGL) seems /lib64/libGL.so.1.2.0 was missing off the disk. Thank you! ================================== 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}}