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