Re: Issue in compiling postgres on latest macOS 14.1.1

Alban Hertroys <haramrae@gmail.com>

From: Alban Hertroys <haramrae@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Shaik Mohammad Mujeeb <smmujeeb2001@gmail.com>, pgsql-general@lists.postgresql.org
Date: 2023-11-13T19:59:34Z
Lists: pgsql-general
> On 13 Nov 2023, at 18:00, Tom Lane <tgl@sss.pgh.pa.us> wrote:

(…)

> * If you use MacPorts or Homebrew, maybe that's out of date?
> Try removing the associated directories from your PATH to see
> if it works better.

Perhaps even worse; you had old binaries from an Intel architecture that were migrated onto a new ARM-based architecture? In that case the Homebrew uninstall scripts won’t even work anymore - at least not w/o Rosetta 2 - as they’re Intel-based too.

A migration assistant can also work too well, I found.

Alban Hertroys
--
There is always an exception to always.