Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1neHTc-0007CV-Dw for pgsql-general@arkaria.postgresql.org; Tue, 12 Apr 2022 14:26:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1neHTb-0000QH-Ae for pgsql-general@arkaria.postgresql.org; Tue, 12 Apr 2022 14:26:39 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1neHTa-0000Q8-WF for pgsql-general@lists.postgresql.org; Tue, 12 Apr 2022 14:26:39 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1neHTX-0005qf-I2 for pgsql-general@lists.postgresql.org; Tue, 12 Apr 2022 14:26:37 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 23CEQWDb793665; Tue, 12 Apr 2022 10:26:32 -0400 From: Tom Lane To: cecile rougnaux cc: "pgsql-general@lists.postgresql.org" Subject: Re: OpenSSL@1.1 not getting linked with Homebrew - trying to install postgresql In-reply-to: References: Comments: In-reply-to cecile rougnaux message dated "Tue, 12 Apr 2022 10:33:21 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <793663.1649773592.1@sss.pgh.pa.us> Date: Tue, 12 Apr 2022 10:26:32 -0400 Message-ID: <793664.1649773592@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk cecile rougnaux 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