Segmentation fault while installing postgresql built from source #6091
Replies: 2 comments 2 replies
-
Additional context: I had PostgreSQL 16.5 and saw this issue when updating to the latest postgresql@16. If I check out the older formula for 16.5 it fails with the same issue, so I'm not entirely sure what changed in the meantime. |
Beta Was this translation helpful? Give feedback.
-
I use default Homebrew prefix and these formulae install without troubles. The only thing I would recommend is to reinstall Homebrew into default prefix. Homebrew isolates the environment on macOS when a formula is built from source and it might lead to the errors like this Can you run |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Output of
brew config
Output of
brew doctor
Description of issue
whether installing
postgresql@14
,postgresql@16
, orpostgresql@17
, there is an error during install:Note the
make[2]: *** [install] Segmentation fault: 11
, which is caused by:If I use
HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source --verbose --debug postgresql@17
and enter the shell when it fails, thenzic
seems broken independent of the above arguments:Beta Was this translation helpful? Give feedback.
All reactions