Relative Content

Tag Archive for macoslibrariesapple-silicon

Wrong architecture libraries transferred to Apple Silicon Mac

A few months ago I moved my world wholesale from an Intel Mac to an Apple Silicon Mac. Recently, I was trying to get a cmake project to build that involved several SDL2 related libraries installed by homebrew. Some of them reported, “wrong architecture.” Then I discovered that I had two worlds going:
/opt/homebrew/lib with Apple silicon architecture libraries,
/usr/local/lib with Intel architecture libraries, brought over wholesale from my previous Mac.