Re: PG12.2 Configure cannot enalble SSL

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Gavan Schneider" <gavan-pg-list(at)pendari(dot)net>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: PG12.2 Configure cannot enalble SSL
Date: 2020-05-14 13:26:44
Message-ID: 25085.1589462804@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Gavan Schneider" <gavan-pg-list(at)pendari(dot)net> writes:
> -bash-3.2$ ./configure --with-openssl \
> > --with-includes=/usr/local/opt/openssl/include/openssl \
> > --with-libraries=/usr/local/opt/openssl/lib
> ...
> 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

Offhand, I'll guess that you need to shorten the --with-includes
path to

--with-includes=/usr/local/opt/openssl/include

What you are showing here would only work if the header file's full path
is

/usr/local/opt/openssl/include/openssl/openssl/ssl.h

which doesn't seem likely.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Laurenz Albe 2020-05-14 13:33:25 Re: Check what has been done for a uncommitted prepared transaction
Previous Message otar shavadze 2020-05-14 12:32:41 Re: Column reset all values