[R-SIG-Mac] Problems updating RCurl on Yosemite

dkelley at broadinstitute.org dkelley at broadinstitute.org
Mon Feb 15 18:33:29 CET 2016


Same exact problem here.

On Wednesday, February 10, 2016 at 11:31:54 PM UTC-5, M. Henry Linder wrote:
>
> Hello all
>
> I have R 3.1.0 installed on my computer, and at some point in the past had 
> successfully installed RCurl (1.95-4.3). However, I am now unable to update 
> RCurl, and in spite of my best efforts at googling, I can’t seem to get 
> things working.
>
> The error I receive is
>
> Error in dyn.load(file, DLLpath = DLLpath, ...) :
>   unable to load shared object 
> '/usr/local/Cellar/r/3.1.0/R.framework/Versions/3.1/Resources/library/RCurl/libs/RCurl.so':
>   
> dlopen(/usr/local/Cellar/r/3.1.0/R.framework/Versions/3.1/Resources/library/RCurl/libs/RCurl.so, 
> 6): Library not loaded: libcurl.4.dylib
>   Referenced from: 
> /usr/local/Cellar/r/3.1.0/R.framework/Versions/3.1/Resources/library/RCurl/libs/RCurl.so
>   Reason: image not found
>
> It seems likely that R is looking to the system curl:
>
> $ which curl
> /usr/bin/curl
> $ curl --version
> curl 7.37.1 (x86_64-apple-darwin14.0) libcurl/7.37.1 SecureTransport 
> zlib/1.2.5
> Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 
> pop3s rtsp smtp smtps telnet tftp
> Features: AsynchDNS GSS-Negotiate IPv6 Largefile NTLM NTLM_WB SSL libz
>
> I have tried installing curl from Homebrew (version 7.42.1) and setting 
> LDFLAGS and CPPFLAGS (and LIBCURL_CFLAGS and LIBCURL_LIBS) to point to this 
> version of curl, to no avail.
>
> I’m unsure if there is a way to set these build flags from within R; is 
> that a possible fix? Thank you for any advice you can offer!
>
> Best
> Henry
>         [[alternative HTML version deleted]]
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SI... at r-project.org <javascript:>
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://stat.ethz.ch/pipermail/r-sig-mac/attachments/20160215/e2cad21e/attachment.html>


More information about the R-SIG-Mac mailing list