Got past my libgfortran issue ln -s /usr/lib64/libgfortran.so.3 /usr/lib/libgfortran.so Now if I could get RCurl and rstan installed. Thanks, Larry -----Original Message----- From: Tom Callaway [mailto:tcallawa at redhat.com] Sent: Friday, January 29, 2016 2:46 PM To: Patrick, Larry B [CSSM] <longplay at iastate.edu>; 'r-sig-fedora at r-project.org' <r-sig-fedora at r-project.org> Subject: Re: [R-sig-Fedora] rstan warning messages On 01/28/2016 09:07 AM, Patrick, Larry B [CSSM] wrote:> Looks to have libgfortran installed. > yum list installed | grep libgfortran > libgfortran.x86_64 4.4.7-16.el6 @rhel-x86_64-server-6 > What else could I check? > > Installed libcurl-devel and libidn-devel. > yum list installed | grep libcurl > libcurl.x86_64 7.19.7-46.el6 @rhel-x86_64-server-6 > libcurl-devel.x86_64 7.19.7-46.el6 @rhel-x86_64-server-6 > Still getting warning for RCurl. > 2: In install.packages("rstan", dependencies = TRUE, repos = > "http://cran.r-project.org/") : installation of package 'RCurl' had non-zero exit status Now this log is way different and I have tried to pick through the warning and error messages. > Any thoughts here?RHEL-6 is getting long in the tooth, at almost six years old. It's quite possible that these R modules are checking for modern dependencies and not finding them. That said, something strange is definitely happening here. You're getting this error message: No package 'libcurl' found That normally means that it could not find the pkgconfig file for 'libcurl', but I've pulled down the libcurl-devel package that you installed and it definitely has: /usr/lib64/pkgconfig/libcurl.pc I think the only way I'm going to be able to troubleshoot this is to bring up a RHEL 6 VM and try it myself. ~tom =Red Hat
On 02/01/2016 03:45 PM, Patrick, Larry B [CSSM] wrote:> Got past my libgfortran issue > ln -s /usr/lib64/libgfortran.so.3 /usr/lib/libgfortran.soMaybe to /usr/lib64/libgfortran.so ? You _should not_ need to do that though. I didn't need to.> Now if I could get RCurl and rstan installed.This one is perplexing. I can't reproduce your failures from my RHEL-6 VM. Can you provide me the output from: rpm -qf /usr/lib64/pkgconfig/libcurl.pc rpm -q pkgconfig Also, if you can run the install.packages again and send me the full log, that might be helpful. ~tom =Red Hat
Tom, First of thanks for setting up your RHEL-6 VM to help me! Until I did that link it would not install. I didn't have any libgfortran files in /usr/lib so I did that soft link. Maybe something didn't fully install or configure. I have inherited this machine from another admin and it is not a fresh installation. [root at ping /]# ls -l /usr/lib64/libgfortran* lrwxrwxrwx 1 root root 20 Jul 23 2015 /usr/lib64/libgfortran.so.3 -> libgfortran.so.3.0.0 -rwxr-xr-x 1 root root 990504 Jun 1 2015 /usr/lib64/libgfortran.so.3.0.0 [root at ping /]# ls -l /usr/lib/libgfortran* lrwxrwxrwx 1 root root 27 Feb 1 14:36 /usr/lib/libgfortran.so -> /usr/lib64/libgfortran.so.3 Requested information for RCurl [root at ping /]# rpm -qf /usr/lib64/pkgconfig/libcurl.pc libcurl-devel-7.19.7-46.el6.x86_64 [root at ping /]# rpm -q pkgconfig pkgconfig-0.23-9.1.el6.x86_64 Attached is RCurl_logs.txt. Let me know if you would rather have it right in the email as it is extremely long log. Thanks, Larry -----Original Message----- From: Tom Callaway [mailto:tcallawa at redhat.com] Sent: Tuesday, February 02, 2016 10:35 AM To: Patrick, Larry B [CSSM] <longplay at iastate.edu>; 'r-sig-fedora at r-project.org' <r-sig-fedora at r-project.org> Subject: Re: [R-sig-Fedora] rstan warning messages On 02/01/2016 03:45 PM, Patrick, Larry B [CSSM] wrote:> Got past my libgfortran issue > ln -s /usr/lib64/libgfortran.so.3 /usr/lib/libgfortran.soMaybe to /usr/lib64/libgfortran.so ? You _should not_ need to do that though. I didn't need to.> Now if I could get RCurl and rstan installed.This one is perplexing. I can't reproduce your failures from my RHEL-6 VM. Can you provide me the output from: rpm -qf /usr/lib64/pkgconfig/libcurl.pc rpm -q pkgconfig Also, if you can run the install.packages again and send me the full log, that might be helpful. ~tom =Red Hat -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: RCurl_logs.txt URL: <https://stat.ethz.ch/pipermail/r-sig-fedora/attachments/20160203/27c3991f/attachment-0001.txt>