Open niconaus opened 1 year ago
I haven't tested this myself, but it looks like this question has the same problem and a solution: https://stackoverflow.com/questions/77253044/installing-z3-binding-with-haskell-on-mac. The problem it identifies is that your homebrew installed version 4.12.2, which isn't compatible with Haskell z3-408.3.
I'm running into issues installing Haskell z3 on my m2 MacBook. I've ran the following commands:
This results in the following error message:
Since I'm on M2 Mac, it seems like homebrew will install z3 in a different location:
From the error message from Haskell z3, I would suspect that then the following should work, but it does not:
cabal install z3 --lib --extra-lib-dirs=/opt/homebrew/Cellar/z3/4.12.2/lib --extra-include-dirs=/opt/homebrew/Cellar/z3/4.12.2/include
Any help would be greatly appreciated!