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

From cecile rougnaux
Subject RE: OpenSSL@1.1 not getting linked with Homebrew - trying to install postgresql
Date
Msg-id PA4PR10MB5729EEF78C40A8B0399CB1FF98EC9@PA4PR10MB5729.EURPRD10.PROD.OUTLOOK.COM
Whole thread Raw
In response to Re: OpenSSL@1.1 not getting linked with Homebrew - trying to install postgresql  (Adrian Ho <ml+postgresql@03s.net>)
List pgsql-general
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 <ml+postgresql@03s.net>
Envoyé : mercredi 13 avril 2022 06:16
À : pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Objet : Re: OpenSSL@1.1 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 :


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 :(

When I try to install openssl@1.1 I have this message:

Note that the error message is literally asking you to:


brew reinstall openssl@1.1


not:


brew install openssl@1.1


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 openssl@1.1


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


brew unlink openssl@1.1


and revert all your additions.

-- 
Best Regards,
Adrian

pgsql-general by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: Feedback about hybrid SAN snap and rsync'd approach for large systemcloning
Next
From: Perryn Fowler
Date:
Subject: Is this a reasonable use for advisory locks?