Hello Adrian,

As suggested from another user, I am going to reinstall and upgrade my OS to 
Catalina, which is better supported.
Then I will follow the steps with homebrew and hopefully this will clean the 
mess I am in 😉
Thanks for your answer!
C
________________________________
De : Adrian Ho <[email protected]>
Envoyé : mercredi 13 avril 2022 06:16
À : [email protected] <[email protected]>
Objet : Re: [email protected] not getting linked with Homebrew - trying to install 
postgresql

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]<mailto:[email protected]>. Sorry :(

When I try to install [email protected]<mailto:[email protected]> I have this message:


Note that the error message is literally asking you to:


brew reinstall [email protected]<mailto:[email protected]>


not:


brew install [email protected]<mailto:[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]<mailto:[email protected]>


and all the exports you said you added to your .zshrc should not be needed, so 
you should:


brew unlink [email protected]<mailto:[email protected]>


and revert all your additions.


--
Best Regards,
Adrian

Reply via email to