cURL / Mailing Lists / curl-users / Single Mail


Re: Compiling curl on Solaris - mismatching openssl header and library when executing configure script

From: Daniel Stenberg <>
Date: Wed, 6 Apr 2016 23:41:45 +0200 (CEST)

On Wed, 6 Apr 2016, Poggenpohl, Daniel wrote:

> How can I tell the configure script where to search for the correct 1.0.2g
> headers?

./configure --with-ssl=/somedir/openssl/1.0.2g

> Looking into the configure script:
> My set CPPFLAGS is overridden by other flags which are empty at runtime.
>> # CPPPFLAGS comes from CURL_CPP_P

Empty? I don't see how it gets cleared! That logic comes from acinclude.m4 (in
the CURL_CPP_P function at the end of the file) and CPPPFLAGS should be your
CPPFLAGS or your CPPFLAGS with an added -P.

> After that the OPENSSL_VERSION_NUMBER is set to the old 1.0.1 OpenSSL,
> probably because the "ac_cpp" variable uses the now empty "CPPFLAGS" and so
> doesn't include my own include dir.

Sounds plausible yes. But as I said, not intended...

List admin:
Received on 2016-04-06