Skip to content
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

zig mac m1 brew install problem #13429

Closed
swuecho opened this issue Nov 3, 2022 · 3 comments
Closed

zig mac m1 brew install problem #13429

swuecho opened this issue Nov 3, 2022 · 3 comments
Labels
downstream An issue with a third party project that uses Zig.

Comments

@swuecho
Copy link

swuecho commented Nov 3, 2022

Zig Version

0.10

Steps to Reproduce and Observed Behavior

➜  ~ brew install zig
Warning: zig 0.10.0 is already installed and up-to-date.
To reinstall 0.10.0, run:
  brew reinstall zig
➜  ~ zig version
dyld[20589]: Library not loaded: '/opt/homebrew/opt/z3/lib/libz3.4.11.dylib'
  Referenced from: '/opt/homebrew/Cellar/zig/0.10.0/bin/zig'
  Reason: tried: '/opt/homebrew/opt/z3/lib/libz3.4.11.dylib' (no such file), '/usr/local/lib/libz3.4.11.dylib' (no such file), '/usr/lib/libz3.4.11.dylib' (no such file), '/opt/homebrew/Cellar/z3/4.11.2/lib/libz3.4.11.dylib' (no such file), '/usr/local/lib/libz3.4.11.dylib' (no such file), '/usr/lib/libz3.4.11.dylib' (no such file)
[1]    20589 abort      zig version

not directly related to zig core, but not sure where to report.

Expected Behavior

zig version should not crash

@swuecho swuecho added the bug Observed behavior contradicts documented or intended behavior label Nov 3, 2022
@andrewrk
Copy link
Member

andrewrk commented Nov 3, 2022

Is there a corresponding homebrew bug report? Looks like a problem with the homebrew package not handling LLVM's optional z3 dependency correctly.

@Benricheson101
Copy link

As suggested in Homebrew/homebrew-core#114382 (comment), running brew reinstall z3 worked for me.

@andrewrk andrewrk added downstream An issue with a third party project that uses Zig. and removed bug Observed behavior contradicts documented or intended behavior labels Nov 3, 2022
@andrewrk
Copy link
Member

andrewrk commented Nov 3, 2022

Alright if downstream does not consider it to be a bug then we don't either :-)

@andrewrk andrewrk closed this as not planned Won't fix, can't repro, duplicate, stale Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
downstream An issue with a third party project that uses Zig.
Projects
None yet
Development

No branches or pull requests

3 participants