-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot build Erlang/OTP 22.3.4.1 on Apple M1 Silicon #221
Comments
+1 for 22.2 |
"ld: symbol(s) not found for architecture x86_64" - make sure that Apple's toolchain is used. % $(which ranlib) -V |
I gave up trying to get this built via asdf and just installed it via brew then copied the installation into asdf. This was on the 2021 macbook pro Mac OS 12.0
|
@HWideman I found you need edit the .asd/shims/erl
|
This fixed it for me: #207 (comment) |
Hello!
I am having a hard time getting Erlang/OTP 22.3.4.1 to install on Apple Silicon. Here is my system info:
I have a .tool-versions with the following contents:
I have tried a few different approaches. First, I tried simply using
asdf install
, and got the following:Okay, no problem, I can try using Rosetta emulation by running
arch -x86_64 zsh
before runningasdf install
. I did that for a different project usingerlang 23.3.1
, and it worked great. Except here I get:Looks like a linking error against an x86 lib.
I poked around a little online, and gave it one last try (in non-Rosetta mode) using:
KERL_CONFIGURE_OPTIONS="--enable-m64-build --without-javac" asdf install
And got this:
Any thoughts? Thank you!
The text was updated successfully, but these errors were encountered: