pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: cecile rougnaux <cecile_rougnaux@hotmail.com>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: OpenSSL@1.1 not getting linked with Homebrew - trying to install postgresql
Date: Tue, 12 Apr 2022 10:26:32 -0400
Message-ID: <793664.1649773592@sss.pgh.pa.us> (raw)
In-Reply-To: <PA4PR10MB5729D5F192F61537F0A7211F98ED9@PA4PR10MB5729.EURPRD10.PROD.OUTLOOK.COM>
References: <PA4PR10MB5729D5F192F61537F0A7211F98ED9@PA4PR10MB5729.EURPRD10.PROD.OUTLOOK.COM>

cecile rougnaux <cecile_rougnaux@hotmail.com> writes:
> when I try to install postgresql with the command
> brew install postgresql
> I have this error:
>     Error: An exception occurred within a child process:
>       RuntimeError: /usr/local/opt/openssl@1.1 not present or broken
>     Please reinstall openssl@1.1. Sorry :(

You probably need to ask about this in a Homebrew-specific forum,
not here.  However, I can comment that this proposed workaround:

>     For compilers to find openssl@1.1 you may need to set:
>       export LDFLAGS="-L/usr/local/opt/openssl@1.1/lib"
>       export CPPFLAGS="-I/usr/local/opt/openssl@1.1/include"

would need to be applied while *building* Postgres.  If you've
already built it, or are trying to install a prebuilt package,
those flag settings won't do anything.

			regards, tom lane





view thread (6+ messages)  latest in thread

Message-ID: <793664.1649773592@sss.pgh.pa.us>
Permalink:  ../793664.1649773592@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/793664.1649773592@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, cecile_rougnaux@hotmail.com
  Subject: Re: OpenSSL@1.1 not getting linked with Homebrew - trying to install postgresql
  In-Reply-To: <793664.1649773592@sss.pgh.pa.us>
  References: <PA4PR10MB5729D5F192F61537F0A7211F98ED9@PA4PR10MB5729.EURPRD10.PROD.OUTLOOK.COM> <793664.1649773592@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