Penguin
Penguin

Reputation: 101

PostgreSQL installation fails with macOS Big Sur(M1)

I am struggling to install PostgreSQL on my macOS Big Sur with M1 chip. These are the message I get when I try to install PostgreSQL in the last step. I tried installing version 12, 11, 10. Anyone knows how to solve this problem?

Upvotes: 10

Views: 10697

Answers (1)

Samuel Norman
Samuel Norman

Reputation: 41

There is a permissions issue produced by Big Sur sec policies. https://pgsnake.blogspot.com/2020/11/macos-big-sur-upgrade-breaking.html

This will happen if you're installing in the default location, which in this case is Library. I was struggling with this for a few days and found that if I define my own installation path not located in the Library folder(say some folder in my Desktop), I was able to install without issue.

Give that a try and see if it works for you.

Edit: Be sure to delete all previous failed installations if any exist.

Upvotes: 4

Related Questions