cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: decryption error - perl program works in cygwin but not in Linux.

From: ClŠudio Sampaio <patola_at_gmail.com>
Date: Tue, 29 Dec 2009 14:35:55 -0200

On Tue, Dec 29, 2009 at 1:16 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:

> On Tue, 29 Dec 2009, ClŠudio Sampaio wrote:
>
> For some reason, reverting libwww-curl-perl from 4.07-1 to 4.05-1 solved
>> this linux problem. The latest version of WWW::Curl though is 4.11, is there
>> something going on and breaking its compatibility?
>>
>
> You should check out the differences between those two versions then I
> guess.
>

Several files, several small differences. Easy.pm has a few suspect
constants that 4.05 hasn't - CURL_ADDRESS_SCOPE, CURL_CERTINFO,
CURLOPT_CRLFILE, CURLOPT_ISSUERCERT, CURLINFO_CERTINFO,
CURLINFO_CONDITION_UNMET and a bunch of others, including several CURLE_*
constants. These are the biggest differences and of course Curl.so is
different:

[patola_at_ubuntola /tmp]% ldd 405/usr/lib/perl5/auto/WWW/Curl/Curl.so | awk
'{print $1}' > /tmp/405.txt
[patola_at_ubuntola /tmp]% ldd 407/usr/lib/perl5/auto/WWW/Curl/Curl.so | awk
'{print $1}' > /tmp/407.txt
[patola_at_ubuntola /tmp]% diff /tmp/405.txt /tmp/407.txt
2c2
< libcurl.so.4

---
> libcurl-gnutls.so.4
9,10d8
< libssl.so.0.9.8
< libcrypto.so.0.9.8
11a10,11
> libgnutls.so.26
> libgcrypt.so.11
15d14
< libgnutls.so.26
24d22
< libgcrypt.so.11
So, WWW:Curl 4.05 uses libssl.so, while 4.07 does not. I've seen a debian
bug report about libssl being somewhat incompatible with the license...
Should that be the reason?
thanks,
ClŠudio "Patola"

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-12-29