-
-
Notifications
You must be signed in to change notification settings - Fork 184
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
Can't open In M3 mac #1595
Comments
Sadly a known issue Homebrew producing non-standalone static libraries. One can really ask oneself what the point is of static libraries when the libraries retain dependencies on dynamic libraries. |
For now, using Homebrew to get c3c, grab LLVM from homebrew just to get the dependencies or building it yourself are the available solutions. I am very sorry about this. |
Sorry to hear that, is there anything i can help to you? |
What we need is a CI similar to https://github.com/c3lang/win-llvm but for MacOS which creates builds for Aarch64 and x64. Then we could use those to build C3 instead. |
yeah im experiencing this on M3 too.. missing a lot dylib |
I has this problem too. The temporary fix is make a symlink '/opt/homebrew/opt/llvm@17/lib/libunwind.1.dylib' refer to the original 'libunwind.1.dylib' in unwind folder (I have libunwind.1.dylib but inside unwind folder in lib) |
Why not bundle a version of libunwind? It's not a huge library... |
This is what building a custom version of LLVM could do. |
❯ c3c
dyld[53358]: Library not loaded: /opt/homebrew/opt/llvm@17/lib/libunwind.1.dylib
Referenced from: <2D50C22A-0492-3DC4-9738-F08EE7CF712B> /Users/hootie/Documents/c3c/c3c
Reason: tried: '/opt/homebrew/opt/llvm@17/lib/libunwind.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/llvm@17/lib/libunwind.1.dylib' (no such file), '/opt/homebrew/opt/llvm@17/lib/libunwind.1.dylib' (no such file)
[1] 53358 abort c3c
The text was updated successfully, but these errors were encountered: