pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Gavan Schneider <gavan-pg-list@pendari.net>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: PG12.2 Configure cannot enalble SSL
Date: Thu, 14 May 2020 09:26:44 -0400
Message-ID: <25085.1589462804@sss.pgh.pa.us> (raw)
In-Reply-To: <8DCA2EC2-B89B-44CC-8327-9A827AF3E942@pendari.net>
References: <8DCA2EC2-B89B-44CC-8327-9A827AF3E942@pendari.net>

"Gavan Schneider" <gavan-pg-list@pendari.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





view thread (7+ messages)  latest in thread

Message-ID: <25085.1589462804@sss.pgh.pa.us>
Permalink:  ../25085.1589462804@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25085.1589462804@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, gavan-pg-list@pendari.net
  Subject: Re: PG12.2 Configure cannot enalble SSL
  In-Reply-To: <25085.1589462804@sss.pgh.pa.us>
  References: <8DCA2EC2-B89B-44CC-8327-9A827AF3E942@pendari.net> <25085.1589462804@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox