installation problem due to libcurl
Closed this issue · 3 comments
vladpetyuk commented
Googling relevant issues with curl/libcurl didn't help much. Installation from CRAN went through just fine. Any hints how to fix this are appreciated.
> devtools::install_github("ggrothendieck/ryacas")
Installation failed: unable to load shared object '/Library/Frameworks/R.framework/Versions/3.3/Resources/library/curl/libs/curl.so':
dlopen(/Library/Frameworks/R.framework/Versions/3.3/Resources/library/curl/libs/curl.so, 6): Library not loaded: /opt/local/lib/libcurl.4.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/3.3/Resources/library/curl/libs/curl.so
Reason: Incompatible library version: curl.so requires version 9.0.0 or later, but libcurl.4.dylib provides version 7.0.0
> sessionInfo()
R version 3.3.3 (2017-03-06)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: macOS Sierra 10.12.3
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] tools_3.3.3
> packageVersion("devtools")
[1] ‘1.12.0.9000’
ggrothendieck commented
Does this occur with other packages too? Does installing with package ghit work?
vladpetyuk commented
I have not notice the same trouble with other packages so far.
ghit
failed too. Perhaps for a different reason.
> ghit::install_github("ggrothendieck/ryacas")
Version requirements for 'Suggests' dependencies currently ignored.
Error in read.dcf(file = tmpf) : cannot open the connection
In addition: Warning message:
In read.dcf(file = tmpf) :
cannot open compressed file '//var/folders/8g/wkz1g1ts1_1bfpkvws45nv051zkbw5/T//RtmprMeEQE/ghitdrat/src/contrib/PACKAGES', probable reason 'No such file or directory'
vladpetyuk commented
What worked out is
- downloading
ryacas-master.zip
directly - unpacking and renaming directory to
Ryacas
- installing from terminal
R CMD INSTALL Ryacas