Page 1 of 1

Re: libcurl, always segmentation violation

Posted: Tue May 28, 2013 2:33 pm
by Shardik
idle wrote:The import should be fine as

ImportC "-lcurl"
...
EndImport

the -l tells gcc to search for libcurl under /usr/lib
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:
sudo apt-get install libcurl4-openssl-dev
or
sudo apt-get install libcurl4-gnutls-dev

Re: libcurl, always segmentation violation

Posted: Sun Feb 25, 2024 9:57 am
by Fred
Commenting the 'Procedure ErrorHandler()' make it work, so it's probably related to our OnError handling on Linux