mikelxc / Workarounds-for-ARM-mac

This repository describes how I get most of my configurations work on the new Apple Silicon Mac
GNU General Public License v3.0
501 stars 17 forks source link

Cannot install in Homebrew on Intel processor in ARM default prefix #7

Closed AdamGerthel closed 3 years ago

AdamGerthel commented 3 years ago

I followed your installation steps on a brand new Macbook Air M1 and got this error (after installation, moving and adding to path).

Error: Cannot install in Homebrew on Intel processor in ARM default prefix (/opt/homebrew)!

When running brew install -s pkg-config

You listed that package as one of the packages you managed to install. Do you have any idea what could be missing from the instructions?

mikelxc commented 3 years ago

It seems that you are running the terminal in intel mode using Rosetta. You can check it by looking at activity monitor. Restart your terminal in arm mode will solve this issue.

AdamGerthel commented 3 years ago

@mikelxc That was the problem! Now moving on to the rest of the long list of issues using my new computer 😅