Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jZDsy-0006bv-1A for pgsql-general@arkaria.postgresql.org; Thu, 14 May 2020 13:26:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jZDsw-00089H-Gm for pgsql-general@arkaria.postgresql.org; Thu, 14 May 2020 13:26:50 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jZDsw-000899-97 for pgsql-general@lists.postgresql.org; Thu, 14 May 2020 13:26:50 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jZDsr-00007v-6m for pgsql-general@lists.postgresql.org; Thu, 14 May 2020 13:26:49 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id 04EDQiwt025086; Thu, 14 May 2020 09:26:44 -0400 From: Tom Lane To: "Gavan Schneider" cc: pgsql-general@lists.postgresql.org Subject: Re: PG12.2 Configure cannot enalble SSL In-reply-to: <8DCA2EC2-B89B-44CC-8327-9A827AF3E942@pendari.net> References: <8DCA2EC2-B89B-44CC-8327-9A827AF3E942@pendari.net> Comments: In-reply-to "Gavan Schneider" message dated "Thu, 14 May 2020 17:42:08 +1000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <25084.1589462804.1@sss.pgh.pa.us> Date: Thu, 14 May 2020 09:26:44 -0400 Message-ID: <25085.1589462804@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk "Gavan Schneider" 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 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