Re: configure can't find libcrypto on MacOS Sierra for pg 9.6.2

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Jerry LeVan <jerry(dot)levan(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "pgsql-general(at)postgresql(dot)org general" <pgsql-general(at)postgresql(dot)org>
Subject: Re: configure can't find libcrypto on MacOS Sierra for pg 9.6.2
Date: 2017-02-12 20:52:24
Message-ID: 6050f9fa-4d9f-94d9-16ef-27b569ad0311@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 02/12/2017 12:39 PM, Jerry LeVan wrote:
> Sigh,
>
> I will try to build without OpenSSL…

I am not a Mac user, but from the below it does not seem that difficult
to get around Apples decision:

https://solitum.net/openssl-os-x-el-capitan-and-brew/

>
> My database is seventeen years old, I don’t even remember
> which Postgresql I started out with...
>
> Jerry
>
>> On Feb 12, 2017, at 10:53 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>>
>> Jerry LeVan <jerry(dot)levan(at)gmail(dot)com> writes:
>>> Hello, I am trying to build pg 9.6.2 on my MacOS Sierra but
>>> configure is being balky
>>
>> Hmm, I'm not really sure why it's failing at that step --- it gets past
>> that for me. Possibly looking into config.log to see if there's a more
>> detailed error report would be illuminating. However, trying to build
>> against Apple's openssl libraries is a lost cause anyway, because they
>> removed the header files in Sierra. So it will fail when it gets to
>> header file checks; where it stops for me is
>>
>> checking for openssl/ssl.h... no
>> configure: error: header file <openssl/ssl.h> is required for OpenSSL
>>
>> AFAIK the only way forward is to install a complete OpenSSL installation
>> from source, or using MacPorts or brew or other tool-of-choice.
>>
>> Apple would really like people to start using their SSL infrastructure.
>> That handwriting has been on the wall for years, but nobody's gotten
>> around to writing the necessary interface logic for Postgres.
>>
>> regards, tom lane
>
>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2017-02-12 21:43:06 Re: configure can't find libcrypto on MacOS Sierra for pg 9.6.2
Previous Message Jerry LeVan 2017-02-12 20:39:20 Re: configure can't find libcrypto on MacOS Sierra for pg 9.6.2