-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Failed to install on mac arm architecture #100
Comments
Same on mac m2 here. The confusing thing is that it's complaining that it has arm64 but needs x86_64 - but we want arm64, and that's what brew has installed. |
Oh. No, Rakudo is built as |
Following the instructions here I have installed an x86_64 homebrew (but also have the arm64 one) - I removed openssl from arm64, installed it on x86_64; now when I clone this repo, I get a different error:
Curious that these are all for rakudo except the last one. |
|
The fact that rakudo was building as an x86_64 was the issue. This appears to be caused by rakubrew (perhaps --optimize)? Doing a source build of rakudo for tag 2023.02 gives an arm64 version, you can install the regular openssl for arm64 via brew, then everything works! |
If that was the whole problem, perhaps this issue can be closed. By the way, from what I heard, rakubrew can now build arm64 for new Mac, @coke have you tried it by any chance? |
Yes I can use rakubrew on the m2 now. |
I have macOS M1 and still getting OpenSSL need x86_64 error:
This is after rakubrew build moar-2023.12 and build-zef I also installed (manually) an arm64 version of perl, thus: |
Does homebrew install an arm64 OpenSSL? I think you’d need to answer that |
well its arm64 openssl ~ > file /opt/homebrew/opt/openssl@3/lib/libssl.dylib installed by arm64 homebrew (https://github.com/orgs/Homebrew/discussions/3223) ~ > brew config |
oh shoot, i have built me a x86 rakudo ~ > file /Users/stephenroe/.rakubrew/versions/moar-2023.12/install/bin/rakudo |
Ah, its probably because you have an x86_64 rakubrew |
turns out I had an older version of rakubrew when I built my raku ... did a full nuke/install of rakubrew and then and now it shows ~ > file /Users/xxx/.rakubrew/shims/raku and now zef install OpenSSL works fine thanks for all your advice! |
guess we can close this issue now |
I have an M1 mac running ventura, 13.1 I have installed openssl@3 package with brew.
zef install OpenSSL
results in an error:Note the bit in the error about "incompatible architecture."
The text was updated successfully, but these errors were encountered: