curl-library
OpenSSL headers and library versions matching... fail
Date: Thu, 15 Sep 2011 19:47:21 +0200 (CEST)
Hi friends,
I forward a private mail from Scott over here with permission...
---------- Forwarded message ----------
Date: Thu, 15 Sep 2011 00:44:43
From: scottmc
To: Daniel Stenberg <daniel_at_haxx.se>
Subject: Re: ANNOUNCE: curl and libcurl 7.22.0
Daniel,
Ok. I tracked it down to m4/curl-openssl.m4, the OPEN_SSL_VERSION
(0x1000005fL) when you put the x in front of it turns out to have a
length of 12 now instead of 11, so copy pasting the x11) case to an
x12) should do the trick. I guess the the third line needed the -8,
but it might still be -7, not really sure what the does.
It appears the change in openssl occurred 2011-Jan-03 with CVS commit
1.48.2.59 of openssl/crypto/opensslv.h, that seems to be where the
length went from 10 to 11.
Attached is an example patch, feel free to adjust as needed. Again I
not sure of the significance of the cut -c 8 in line 10 of the patch.
I'll probably update curl to 7.22.0 in Haiku sometime this week. It's
available to install from the command line in Haiku using
"installoptionalpackage curl", but may already be installed if the
Haiku web browser "WebPositive" is installed, as that uses curl last I
knew.
-scottmc
(Scott McCreary HaikuPorts)
On Wed, Sep 14, 2011 at 6:27 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Wed, 14 Sep 2011, scottmc wrote:
>
>> I'm getting this warning during configure on Haiku, should I be concerned?
>>
>> checking for yaSSL using OpenSSL compatibility mode... no
>> checking for OpenSSL headers version... unknown - 0x1000005fL
>> checking for OpenSSL library version... 1.0.0
>> checking for OpenSSL headers and library versions matching... fail
>> configure: WARNING: Can not compare OpenSSL headers and library versions.
>>
>> I updated openssl to 1.0.0e a few days ago for Haiku, if that matters any.
>> I don't recall if I've gotten this warning on previous builds or not,
>> but it's possible I did and just didn't notice it.
>> Is there any debugging I should try?
>
> This is a check and warning Yang Tse has added and I don't have perfect
> knowledge about it. I guess you should check what the configure script
> actually checks and make sure that the check seems to do right and thus
> issues an accurate warning.
>
> --
>
> / daniel.haxx.se
>
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
- APPLICATION/OCTET-STREAM attachment: curl-7.22.0.patch