pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Ho <ml+postgresql@03s.net>
To: pgsql-general@lists.postgresql.org
Subject: Re: OpenSSL@1.1 not getting linked with Homebrew - trying to install postgresql
Date: Wed, 13 Apr 2022 14:16:14 +0800
Message-ID: <613a30d4-7163-d66e-ecf1-0a37dc0bd764@03s.net> (raw)
In-Reply-To: <PA4PR10MB5729D5F192F61537F0A7211F98ED9@PA4PR10MB5729.EURPRD10.PROD.OUTLOOK.COM>
References: <PA4PR10MB5729D5F192F61537F0A7211F98ED9@PA4PR10MB5729.EURPRD10.PROD.OUTLOOK.COM>

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/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

view thread (6+ messages)  latest in thread

Message-ID: <613a30d4-7163-d66e-ecf1-0a37dc0bd764@03s.net>
Permalink:  ../613a30d4-7163-d66e-ecf1-0a37dc0bd764@03s.net/
Also on:    postgresql.org/message-id/613a30d4-7163-d66e-ecf1-0a37dc0bd764@03s.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: ml+postgresql@03s.net
  Subject: Re: OpenSSL@1.1 not getting linked with Homebrew - trying to install postgresql
  In-Reply-To: <613a30d4-7163-d66e-ecf1-0a37dc0bd764@03s.net>
  References: <PA4PR10MB5729D5F192F61537F0A7211F98ED9@PA4PR10MB5729.EURPRD10.PROD.OUTLOOK.COM> <613a30d4-7163-d66e-ecf1-0a37dc0bd764@03s.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox