-
Notifications
You must be signed in to change notification settings - Fork 22
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
Z3 is installed on system but get error "Failure("Z3 not installed")" #332
Comments
I believe the version of Z3 available through apt is not compiled with OCaml bindings. Therefore, you should install Z3 through the opam install z3 |
Hi, thanks for the help. I tried to use this opam install z3
opam install . --deps-only
dune clean
dune build -p owi @install
dune install |
You should rebuild and reinstall smtml after installing Z3. (We changed a lot of things recently in smtml so things are a little bit unstable, sorry!) |
You can try to do this: opam install z3 # skip if you already have done this
opam update && opam install smtml.0.2.0
dune build -p owi @install
dune install If you get issues saying the version of smtml is not available consider updating opam repository to the git version: opam repository remove default --all-switches
opam repository add default https://github.com/ocaml/opam-repository.git --all-switches --set-default
opam update && opam install smtml.0.2.0 |
Thanks! I tried to run all these commands but the issue is still unchanged. It's so weird. |
Maybe you're |
That is the point. I just repull the repo and recomplie it, and the problem is solved. |
I'm reopening because we should give some advice in the README about installing at least one solver (Z3 or Bitwuzla currently) if the user is interested in symbolic execution. |
We should wait for formalsec/smtml#165 to be merged and released to opam to check that everything works smoothly. |
What I ran:
What I got:
owi: internal error, uncaught exception: Failure("Z3 not installed")
I'm a beginner in OCaml, is there something I'm getting wrong?
The text was updated successfully, but these errors were encountered: