On 12/4/22 18:33, cecile rougnaux wrote:
My system is OS Mojave 10.14.6, I got homebrew from this command :
/bin/bash -c "$(curl -fsSL
https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
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/[email protected] not present or broken
Please reinstall [email protected]. Sorry :(
When I try to install [email protected] I have this message:
Note that the error message is literally asking you to:
brew reinstall [email protected]
not:
brew install [email protected]
and not:
brew reinstall openssl
Do the reinstall and see if the postgresql formula works now. If it
still doesn't work, the Homebrew discussions forum is a more appropriate
place to follow up: https://github.com/Homebrew/discussions/discussions
Also:
brew link [email protected]
and all the exports you said you added to your .zshrc should not be
needed, so you should:
brew unlink [email protected]
and revert all your additions.
--
Best Regards,
Adrian