Re: OpenSSL@1.1 not getting linked with Homebrew - trying to install postgresql - Mailing list pgsql-general

From Tom Lane
Subject Re: OpenSSL@1.1 not getting linked with Homebrew - trying to install postgresql
Date
Msg-id 793664.1649773592@sss.pgh.pa.us
Whole thread Raw
In response to OpenSSL@1.1 not getting linked with Homebrew - trying to install postgresql  (cecile rougnaux <cecile_rougnaux@hotmail.com>)
List pgsql-general
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



pgsql-general by date:

Previous
From: Dmitry Igrishin
Date:
Subject: Re: Major release of advanced PostgreSQL driver written in C++
Next
From: Dan Davis
Date:
Subject: Re: OpenSSL@1.1 not getting linked with Homebrew - trying to install postgresql