Lucio Marcello
2017-Apr-04 15:33 UTC
[R-sig-Debian] libcurl issue when manually installing R-3.3.3 on Debian 3.16.0-4-amd64
Dear all, I am trying to upgrade R on Debian 3.16.0-4-amd64, as the default R version is 3.1.1 (2014). When I try to run ./configure on R-3.3.3, I get an error message saying ... checking for curl-config... /usr/local/bin/curl-config checking libcurl version ... 7.53.1 checking curl/curl.h usability... yes checking curl/curl.h presence... yes checking for curl/curl.h... yes checking if libcurl is version 7 and >= 7.28.0... yes checking if libcurl supports https... no configure: error: libcurl >= 7.28.0 library and headers are required with support for https I received the following advice from a senior Debian user: "Encryption has gone through some growing pains lately, with older versions of the standard encryption protocol being effectively black listed. (TLS v1.0 had holes, now it must be TLS v1.1 or above). So, whilst it says you have SSL, libcurl will be critical of the version and say you don't (because the SSL version is black listed). It is possible that updating libssl-dev, openssl-dev (or whatever they are called) will make curl happy, because Debian might have updated their packages to keep up with the times. You might need to uncomment the security updates in /etc/apt/sources. OTOH, they might not... in which case you need to download and build openssl yourself, and then build libcurl, making very sure it uses your openssl and not the standard openssl. I do recall it is a pain to stop it seeking out the standard openssl." Following the above suggestions and some information I found online I installed libcurl4-openssl-dev, but this hasn't solved the problem. I now am getting further problems installing other packages (hyphy) /etc/hyphy$ cmake . cmake: /usr/local/lib/libcurl.so.4: no version information available (required by cmake) Segmentation fault I am not sure whether the latter is related to some other installation fault that occurred when I was trying to fix R, but I would rather get some advice before proceeding any further, as I don't have enough experience to identify and solve the problem directly. Many thanks for any help! All the best, Lucio Inverness College UHI, a partner in the University of the Highlands and Islands www.inverness.uhi.ac.uk Board of Management of Inverness College (known as Inverness College UHI), Scottish Charity No SC021197. [[alternative HTML version deleted]]
Dirk Eddelbuettel
2017-Apr-04 16:17 UTC
[R-sig-Debian] libcurl issue when manually installing R-3.3.3 on Debian 3.16.0-4-amd64
On 4 April 2017 at 16:33, Lucio Marcello wrote: | I am trying to upgrade R on Debian 3.16.0-4-amd64, as the default R version is 3.1.1 (2014). When I try to run ./configure on R-3.3.3, I get an error message saying | | ... | checking for curl-config... /usr/local/bin/curl-config | checking libcurl version ... 7.53.1 | checking curl/curl.h usability... yes | checking curl/curl.h presence... yes | checking for curl/curl.h... yes | checking if libcurl is version 7 and >= 7.28.0... yes | checking if libcurl supports https... no | configure: error: libcurl >= 7.28.0 library and headers are required with support for https I would install the binary from https://cran.r-project.org/bin/linux/debian/ Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
Lucio Marcello
2017-Apr-04 16:45 UTC
[R-sig-Debian] libcurl issue when manually installing R-3.3.3 on Debian 3.16.0-4-amd64
Dear Dirk, Do you mean binaries for R-3.3.3? I could not find any link on the page you mention I downloaded R-3.3.3.tar.gz from https://cran.r-project.org/src/base/R-3/ then ran ./configure I also tried ./configure --enable-R-shlib based on a suggestion found in http://jenzopr.github.io/bioinformatics/2016/05/03/r-wheezy-build.html Many thanks, Lucio On 4 April 2017 at 17:17, Dirk Eddelbuettel <edd at debian.org<mailto:edd at debian.org>> wrote: On 4 April 2017 at 16:33, Lucio Marcello wrote: | I am trying to upgrade R on Debian 3.16.0-4-amd64, as the default R version is 3.1.1 (2014). When I try to run ./configure on R-3.3.3, I get an error message saying | | ... | checking for curl-config... /usr/local/bin/curl-config | checking libcurl version ... 7.53.1 | checking curl/curl.h usability... yes | checking curl/curl.h presence... yes | checking for curl/curl.h... yes | checking if libcurl is version 7 and >= 7.28.0... yes | checking if libcurl supports https... no | configure: error: libcurl >= 7.28.0 library and headers are required with support for https I would install the binary from https://cran.r-project.org/bin/linux/debian/ Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org<mailto:edd at debian.org> Inverness College UHI, a partner in the University of the Highlands and Islands www.inverness.uhi.ac.uk Board of Management of Inverness College (known as Inverness College UHI), Scottish Charity No SC021197. [[alternative HTML version deleted]]
Apparently Analagous Threads
- libcurl issue when manually installing R-3.3.3 on Debian 3.16.0-4-amd64
- libcurl issue when manually installing R-3.3.3 on Debian 3.16.0-4-amd64
- libcurl support and curlGetHeaders warning message in R CMD check
- libcurl support and curlGetHeaders warning message in R CMD check
- Install R on Ubuntu with libcurl support