None of the above answers worked for me on Ubuntu 18.04.3 LTS using R version 3.6.1 Package ‘libcurl’ is not available (for R version 3.4.0) Installing package into ‘/home/lau/R/x86_64-pc-linux-gnu-library/3.4’ So I tried to install libcurl: > install.packages("libcurl") Installation of package ‘devtools’ had non-zero exit status Installation of package ‘httr’ had non-zero exit statusĮRROR: dependencies ‘httr’, ‘git2r’ are not available for package ‘devtools’ Installation of package ‘git2r’ had non-zero exit statusĮRROR: dependencies ‘curl’, ‘openssl’ are not available for package ‘httr’ R CMD INSTALL -configure-args='-with-libssl-include=INCLUDE_PATH -with-libssl-lib=LIB_PATH' git2rĮRROR: configuration failed for package ‘git2r’ The include and lib path to OpenSSL with: noĬonfigure: error: in `/tmp/RtmpWzaIce/R.INSTALL67fa335a4d20/git2r': yesĬonfigure: WARNING: "pkg-config failed to find libssl."Ĭhecking for library containing EVP_EncryptInit. usr/bin/pkg-configĬhecking pkg-config is at least version 0.9.0. none neededĬhecking for library containing inflate. yesĬhecking for gcc option to accept ISO C89. noĬhecking whether we are using the GNU C compiler. a.outĬhecking whether we are cross compiling. yesĬhecking for C compiler default output file name. x86_64-unknown-linux-gnuĬhecking whether the C compiler works. x86_64-unknown-linux-gnuĬhecking host system type. ** package ‘git2r’ successfully unpacked and MD5 sums checkedĬhecking build system type. Installation of package ‘openssl’ had non-zero exit status If pkg-configĮRROR: configuration failed for package ‘openssl’ PATH and PKG_CONFIG_PATH contains a openssl.pc file. If openssl is already installed, check that 'pkg-config' is in your * rpm: openssl-devel (Fedora, CentOS, RHEL) ** package ‘openssl’ successfully unpacked and MD5 sums checkedĬonfiguration failed because openssl was not found. Installation of package ‘curl’ had non-zero exit status LIB_DIR=.'ĮRROR: configuration failed for package ‘curl’ R CMD INSTALL -configure-vars='INCLUDE_DIR=. Is unavailable you can set INCLUDE_DIR and LIB_DIR manually via: PATH and PKG_CONFIG_PATH contains a libcurl.pc file. If libcurl is already installed, check that 'pkg-config' is in your * rpm: libcurl-devel (Fedora, CentOS, RHEL) * deb: libcurl4-openssl-dev (Debian, Ubuntu, etc) ANTICONF ERROR -Ĭonfiguration failed because libcurl was not found. To the PKG_CONFIG_PATH environment variable Perhaps you should add the directory containing `libcurl.pc' Package libcurl was not found in the pkg-config search path. ** package ‘curl’ successfully unpacked and MD5 sums checked But I get tons of errors: * installing *source* package ‘curl’. I am trying to install devtools in my RStudio.
0 Comments
Leave a Reply. |