-
Notifications
You must be signed in to change notification settings - Fork 114
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
Fails to Build in Linux #224
Comments
Seeing the same issue. Did you find a workaround? |
I have not yet, no. Any luck for you? |
I use this as my work-around in MIRAI: z3-sys = { version = "*", git="https://github.com/prove-rs/z3.rs.git", features = ["static-link-z3"], optional = true } |
That didn't work for me - same error, even after deleting |
Aha, it seems I was missing clang: The error message could probably be clearer. |
Thank you @hjfreyer! The clang dependency was at the root of my issue, it can compile fine now for me. |
This may be a similar issue report to #192 or #87 but I hope more data is helpful for a more robust next update.
Operating System: Pop!_OS 22.04 (Ubuntu based)
Cargo 1.65.0
Rust 2021 Edition
I'm using a fairly minimal test program right now where Z3 and UUId are my only imports. Although I installed Z3 from my package manager I get compile errors from the system compiler (not Cargo) when I attempt to build my library either with a stock Z3 install or with the statically linked library. Both error messages are listed below. I hope one of these errors is simply a mis-configuration on my end.
With this in my Cargo.toml [dependencies]:
z3 = "0.11"
This happens:
And with this in my Cargo.toml [dependencies]:
z3 = {version="0.11.2", features = ["static-link-z3"]}
The text was updated successfully, but these errors were encountered: