Does anyone know how to build GDAL with libcurl support on Debian Linux (specifically LinuxMint and/or Ubuntu)?
After following build instructions here and tip from @EvilGenius below, I'm specifying the path to libcurl with this command:
./configure --with-curl=-L/usr/lib/x86_64-linux-gnu
and I've also tried:
./configure --with-curl=/etc/ssl/certs/ca-certificates.crt
EDIT: I've built on a machine with PostGIS installed, for what it's worth, but I'm still not getting CartoDB as a data format in the list of supported formats.
Is there a way to check if GDAL was indeed built with libcurl support?
Best Answer
Both of those commands are wrong. It should be something like,
curl-config
is an executable which provides details on the curl version and locations of libraries, etc.You can get this information by typing,
But as EvilGenius says, you shouldn't need this command at all. Make sure curl is actually installed, of course.
MB Edit:
The correct libcurl installation syntax is:
(once I had that installed, the config option above worked great and the installation allowed the CartoDB format to show up)