I had this problem this week in Linux Mint (debian/ubuntu based) and needed to install some libgl* and libglu* packages. A search for "rgl glu.h" and "rgl gl.h" found the appropriate suggestions, though I probably installed a couple of unnecessary packages too.

JN

On 2017-01-11 03:14 PM, Duncan Murdoch wrote:
On 11/01/2017 3:03 PM, Weiner, Michael wrote:
-----Original Message-----
From: Duncan Murdoch [mailto:murdoch.dun...@gmail.com]
Sent: Wednesday, January 11, 2017 2:55 PM
To: Weiner, Michael <wein...@ccf.org>; r-help@r-project.org
Subject: Re: [R] installing rgl

On this page

http://forums.fedoraforum.org/showthread.php?t=294543

eventually it turned out that a similar problem was fixed by

yum install libpng-devel

Thank you for your response Duncan, unfortunately that didn't help,
though I do see in 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: skipping incompatible
/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../libGL.so when
searching for -lGL
/usr/bin/ld: skipping incompatible /lib/libGL.so when searching for -lGL
/usr/bin/ld: skipping incompatible /usr/lib/libGL.so when searching
for -lGL
/usr/bin/ld: cannot find -lGL

So something else is up


I don't know Fedora at all so I don't know what you'd need to do this,
but I'd suggest asking to uninstall and reinstall mesa-libGL-devel and
mesa-libGLU-devel (and maybe libpng-devel).

Duncan Murdoch

Michael


===================================


 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-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to