I have tried all kind of libcurl apt packages and so forth. I need RCurl for h2o in Debian Stretch. How can I install RCurl in Debian?

** R
** data
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
Error in dyn.load(file, DLLpath = DLLpath, ...) : 
  unable to load shared object '/home/hhh/R/x86_64-pc-linux-gnu-library/3.3/RCurl/libs/RCurl.so':
  libicui18n.so.58: cannot open shared object file: No such file or directory
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/home/hhh/R/x86_64-pc-linux-gnu-library/3.3/RCurl’

The downloaded source packages are in
Warning message:
In install.packages("RCurl") :
  installation of package ‘RCurl’ had non-zero exit status

System specs

$ cat /etc/*-release
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION="9 (stretch)"

APT packages on CURL

$ apt list --installed|grep curl

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libcurl3/stable,now 7.52.1-5+deb9u4 amd64 [installed,automatic]
libcurl3-gnutls/stable,now 7.52.1-5+deb9u4 amd64 [installed,automatic]
libcurl4-gnutls-dev/stable,now 7.52.1-5+deb9u4 amd64 [installed]
python3-pycurl/stable,now 7.43.0-2 amd64 [installed,automatic]
  • @GAD3R I don't know the difference, h2o fires errors on RCurl. I got errors with the suggested packages such that install.packages("r-cran-rcurl") Installing package into ‘/home/hhh/R/x86_64-pc-linux-gnu-library/3.3’ (as ‘lib’ is unspecified) Warning in install.packages : package ‘r-cran-rcurl’ is not available (for R version 3.3.3) – hhh Mar 9 '18 at 14:06
  • is libicu-dev and/or libicu52 installed? – rcs Mar 9 '18 at 14:34
  • @rcs libicu-dev is installed while libicu52 is not available for the Debian – hhh Mar 9 '18 at 14:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.