Re: OpenSSL@1.1 not getting linked with Homebrew - trying to install postgresql

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: cecile rougnaux <cecile_rougnaux(at)hotmail(dot)com>
Cc: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: OpenSSL@1.1 not getting linked with Homebrew - trying to install postgresql
Date: 2022-04-12 14:26:32
Message-ID: 793664.1649773592@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

cecile rougnaux <cecile_rougnaux(at)hotmail(dot)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(at)1(dot)1 not present or broken
> Please reinstall openssl(at)1(dot)1(dot) 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(at)1(dot)1 you may need to set:
> export LDFLAGS="-L/usr/local/opt/openssl(at)1(dot)1/lib"
> export CPPFLAGS="-I/usr/local/opt/openssl(at)1(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dan Davis 2022-04-12 15:29:18 Re: OpenSSL@1.1 not getting linked with Homebrew - trying to install postgresql
Previous Message Dmitry Igrishin 2022-04-12 11:35:03 Re: Major release of advanced PostgreSQL driver written in C++