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

David Kelley davidkelley44 at gmail.com
Sat Mar 5 00:11:36 CET 2016


Thanks for the tip Henry, but that still doesn't do it for me.

mdfind finds quite a few options:





*/usr/local/Cellar/curl/7.47.1/lib/libcurl.4.dylib/usr/lib/libcurl.4.dylib/Users/dk/anaconda/pkgs/curl-7.45.0-0/lib/libcurl.4.dylib/Users/dk/anaconda/pkgs/curl-7.45.0-0/info/files/Users/dk/anaconda/pkgs/curl-7.38.0-0/lib/libcurl.4.dylib/Users/dk/anaconda/pkgs/curl-7.38.0-0/info/files*

I've tried adding each of these lib paths to my LD_LIBRARY_PATH, but it's
still not finding it from within R.

On Tue, Feb 23, 2016 at 7:19 PM, M. Henry Linder <mhlinder at gmail.com> wrote:

> @dkelley: I can’t specifically recall how I resolved this…but I do have
> the following:
>
> $ grep -i curl ~/.zshrc
> export LD_LIBRARY_PATH=/usr/local/Cellar/curl/7.34.0/lib:$LD_LIBRARY_PATH
>
> Henry
>
> On Feb 23, 2016, at 4:55 PM, peter dalgaard <pdalgd at gmail.com> wrote:
>
> (In case it wasn't clear: I'm not the one using homebrew. So over to Henry
> and dkelley -pd)
>
> On 23 Feb 2016, at 22:48 , Kevin Ushey <kevinushey at gmail.com> wrote:
>
> Are you able to locate a version of libcurl using mdfind, e.g. what
> does this print:
>
>   mdfind libcurl.4.dylib
>
> You might also try installing homebrew curl (brew install curl) if you
> haven't already.
>
> Kevin
>
> On Tue, Feb 23, 2016 at 1:39 PM, peter dalgaard <pdalgd at gmail.com> wrote:
>
> In general, homebrewers get to drink their own booze. (i.e., we don't
> support it.)
>
> However, for R itself, it is necessary for me to set CURL_CONFIG in order
> not to pick up the curl-config from MacPorts. You might want to check if
> you are running into the same issue in reverse.
>
> -pd
>
>
> On 15 Feb 2016, at 18:33 , dkelley at broadinstitute.org wrote:
>
> 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
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
>
>
>
>
>
>
>
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
>
> --
> Peter Dalgaard, Professor,
> Center for Statistics, Copenhagen Business School
> Solbjerg Plads 3, 2000 Frederiksberg, Denmark
> Phone: (+45)38153501
> Office: A 4.23
> Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
>
> --
> Peter Dalgaard, Professor,
> Center for Statistics, Copenhagen Business School
> Solbjerg Plads 3, 2000 Frederiksberg, Denmark
> Phone: (+45)38153501
> Office: A 4.23
> Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com
>
>
>
>
>
>
>
>
>
>
>

	[[alternative HTML version deleted]]



More information about the R-SIG-Mac mailing list