Thread: Configure with Openssl fails

Configure with Openssl fails

From
Michael Hartung
Date:
Hi,

being on OS X 10.11 (El Capitain) and trying a VPATH build with plain
"configure" and "make" works fine.

/Users/me/Documents/workspace/postgres/configure --with-openssl
--with-includes=/usr/local/ssl/include/openssl
--with-libraries=/usr/local/ssl/lib

fails and leads to:

...
checking openssl/ssl.h usability... no
checking openssl/ssl.h presence... no
checking for openssl/ssl.h... no
configure: error: header file <openssl/ssl.h> is required for OpenSSL

Any ideas...?

Thanks in advance!
Michael











Re: Configure with Openssl fails

From
Joe Conway
Date:
On 10/21/2015 07:31 AM, Michael Hartung wrote:
> being on OS X 10.11 (El Capitain) and trying a VPATH build with plain
> "configure" and "make" works fine.
>
> /Users/me/Documents/workspace/postgres/configure --with-openssl
> --with-includes=/usr/local/ssl/include/openssl
> --with-libraries=/usr/local/ssl/lib
>
> fails and leads to:
>
> ...
> checking openssl/ssl.h usability... no
> checking openssl/ssl.h presence... no
> checking for openssl/ssl.h... no
> configure: error: header file <openssl/ssl.h> is required for OpenSSL
>
> Any ideas...?

Just a guess, but if indeed ssl.h is located in
   /usr/local/ssl/include/openssl
based on the error message I would try:
  --with-includes=/usr/local/ssl/include

HTH,

Joe

--
Crunchy Data - http://crunchydata.com
PostgreSQL Support for Secure Enterprises
Consulting, Training, & Open Source Development


Attachment