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 , dkel...@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...@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-mac > > > > > > > > > > _______________________________________________ > R-SIG-Mac mailing list > R-SIG-Mac@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....@cbs.dk Priv: pda...@gmail.com _______________________________________________ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac