cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl and https problem

From: Daan Try <daan.try_at_gmail.com>
Date: Mon, 05 Sep 2011 06:06:52 +0200

On 04-Sep-11 19:27, Daan Try wrote:
>
> On 04-Sep-11 15:48, Daniel Stenberg wrote:
>>
>> And you're 100% sure you have only one libcurl installed and all
>> approaches use the same lib?
>>
>> I'm puzzled too and have no other explanation than that they somehow
>> differ.
>>
> That could be a good pointer here: strace output of the curl
> executable reveils:
>
> open("/usr/lib/libcurl.so.4", O_RDONLY) = 3
>
>
> The strace output of my program reveils:
>
> open("/usr/lib/libcurl-gnutls.so.4", O_RDONLY) = 3
>
> So it appears they are using a different library. Question now (for me
> at least) is why and how to fix this.

Found it! So stupid that I did not think of this earlier. Thanks for
your help Daniel!

For some reason I had installed the development package for
libcurl-gnutls instead of libcurl-openssl. That caused the mismatch
between the curl executable and my program. Thanks again for the pointer!
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-09-05