Replies: 1 comment 17 replies
-
Maybe brew runs as arm64 and vcpkg runs as x64 and it makes a difference. Or the other way around. You can check it with |
Beta Was this translation helpful? Give feedback.
17 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am working on OpenSP port and it is failing to compile statically on macOS on Apple Silicon with:
Notice the puzzling error message: building for macOS-arm64 but attempting to link with file built for macOS-arm64
I inspected the
libosp.a
and it is indeed macOS-arm64, which would suggest some issue with libtool. I then attempted to build the same with brew, having edited the recipe and added--disable-shared --enable-static
and somehow it builds just fine. Brew has a dependency on its ownlibtools
, so I exported it to path per their instructions (export PATH="$(brew --prefix)/opt/libtool/libexec/gnubin:$PATH"
) yet it still fails.Anyone has any idea how to proceed here?
Beta Was this translation helpful? Give feedback.
All reactions