Rolf Turner
2021-Aug-28 10:18 UTC
[R] Configure error: checking if libcurl supports https... no
I'm getting results from a package which differ from results that I got a few weeks ago, and the only thing that I can think of that's changed is the version of R (from 4.1.0 to 4.4.1). So I wanted to install 4.1.0 and play around with that, to see if that is indeed the explanation. (If that is so, a whole new set of questions would be raised, but let's leave that for the moment.) I downloaded the tarball and set about installing 4.1.0 from source. But the configure step threw an error, as given in the subject line of this message. The error went on:> configure: error: libcurl >= 7.28.0 library and headers are required > with support for httpsA bit of web searching turned up the advice to re-install curl using sudo apt-get install curl but when I did that I was informed that:> curl is already the newest version (7.68.0-1ubuntu2.6).Has anyone got any *useful* advice? If so, please present it in very simple terms if you can. (I am a Bear of Very Little Brain, and long words bother me.) A step-by-step recipe would be appreciated. I'm running Ubuntu 20.04, with a Mate 1.24.0 desktop. Grateful for any pearls of wisdom. cheers, Rolf Turner P.S. The config.log file seems to be full of stuff relating to errors from "openssl.c" but this is *way* beyond my pay grade. R. T. -- Honorary Research Fellow Department of Statistics University of Auckland Phone: +64-9-373-7599 ext. 88276
Adam WysokiĆski
2021-Aug-29 17:22 UTC
[R] Configure error: checking if libcurl supports https... no
Hi, What you need is the libcurl library, not the program curl (which you have installed): sudo apt-get install libcurl4 and probably (if not installed automatically by apt): sudo apt-get install libcurl4-openssl-dev Now it should work. PS. you may always check which package provides a particular file by using: apt-file find libcurl -- Regards, Adam Wysoki?ski On 8/28/21 12:18, Rolf Turner wrote:> > I'm getting results from a package which differ from results that I got > a few weeks ago, and the only thing that I can think of that's changed > is the version of R (from 4.1.0 to 4.4.1). > > So I wanted to install 4.1.0 and play around with that, to see if that > is indeed the explanation. (If that is so, a whole new set of > questions would be raised, but let's leave that for the moment.) I > downloaded the tarball and set about installing 4.1.0 from source. But > the configure step threw an error, as given in the subject line of > this message. The error went on: > >> configure: error: libcurl >= 7.28.0 library and headers are required >> with support for https > > A bit of web searching turned up the advice to re-install curl > using > > sudo apt-get install curl > > but when I did that I was informed that: > >> curl is already the newest version (7.68.0-1ubuntu2.6). > > Has anyone got any *useful* advice? If so, please present it > in very simple terms if you can. (I am a Bear of Very Little Brain, > and long words bother me.) A step-by-step recipe would be appreciated. > > I'm running Ubuntu 20.04, with a Mate 1.24.0 desktop. > > Grateful for any pearls of wisdom. > > cheers, > > Rolf Turner > > P.S. The config.log file seems to be full of stuff relating to errors > from "openssl.c" but this is *way* beyond my pay grade. > > R. T. >