I am trying to use libcurl in a c++ program on a Raspberry Pi running GNU/Linux Debian Stretch.
To find all installed curl packages:
dpkg-query -l curl | grep '^.i'
which returns
curl
libcurl3:armhf
libcurl3-gnutls:arm
Running
curl-config --cflags
returns that there is no such command. A program with a declaration:
#include "curl/curl.h"
and compiling and linking with
g++ -o test test.cpp -lcurl
returns that there is no such "curl/curl.h" file. All the tutorials claim that curl-config is installed with curl. I didn't install curl; it is included in the distribution. Running the command
curl -I http://www.any_site.com
returns correct data.