You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.
The formuale has some problem on arm64 (M-Chips) on macOS. It won't use the libssl installed by Homebrew. If you link to it, it says that it wants a different architecture, x86_64 instead of the installed arm64.
This is the error when running mint after symlinking manually to libssl:
dyld[16130]: Library not loaded: /usr/local/opt/[email protected]/lib/libssl.1.1.dylib
Referenced from: <75F1BB04-1DDA-3A98-BEEB-CB460C23A096> /opt/homebrew/Cellar/mint-lang/0.18.0/bin/mint
Reason: tried: '/usr/local/opt/[email protected]/lib/libssl.1.1.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/[email protected]/lib/libssl.1.1.dylib' (no such file), '/usr/local/opt/[email protected]/lib/libssl.1.1.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/usr/local/lib/libssl.1.1.dylib' (no such file), '/usr/lib/libssl.1.1.dylib' (no such file, not in dyld cache), '/opt/homebrew/Cellar/[email protected]/1.1.1t/lib/libssl.1.1.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/[email protected]/1.1.1t/lib/libssl.1.1.dylib' (no such file), '/opt/homebrew/Cellar/[email protected]/1.1.1t/lib/libssl.1.1.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/usr/local/lib/libssl.1.1.dylib' (no such file), '/usr/lib/libssl.1.1.dylib' (no such file, not in dyld cache)
[1] 16130 abort mint
The text was updated successfully, but these errors were encountered:
Currently it's a bit of a pain to build ARM binaries of Mint as sort of described in this article:
Building for ARM in GitHub Actions is not easy now. You can’t just add an ARM runner because the crystal-lang/install-crystal GitHub Action doesn’t support ARM runners (at least in v1.8.0). Also, you can’t build a binary inside a container as ARM containers weren’t provided by Crystal’s developers. So, the only current option is cross-compilation.
I believe it works fine if you are able to compile from source, otherwise it would require a bit of effort for someone to update the main Mint Github workflows to cross-compile for ARM (?)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The formuale has some problem on arm64 (M-Chips) on macOS. It won't use the libssl installed by Homebrew. If you link to it, it says that it wants a different architecture,
x86_64
instead of the installedarm64
.This is the error when running
mint
after symlinking manually tolibssl
:The text was updated successfully, but these errors were encountered: