ImportC "-lcurl" only finds libcurl if the library libcurl.so can be found in /usr/lib. A libcurl.so.3 or libcurl.so.4 isn't sufficient. In order to obtain libcurl.so, the developer version has to be installed with:idle wrote:The import should be fine as
ImportC "-lcurl"
...
EndImport
the -l tells gcc to search for libcurl under /usr/lib
orsudo apt-get install libcurl4-openssl-dev
sudo apt-get install libcurl4-gnutls-dev