-
Notifications
You must be signed in to change notification settings - Fork 386
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
dyld: Library not loaded: libff.dylib #522
Comments
Hi!, thanks for testing our binary for OSX. You should have two additional libraries installed:
Can you run these scripts to check if it solves this. Otherwise, you can use our docker container to run Echidna in OSX. |
Thanks @ggrieco-tob, I ended up using Docker, it was much easier. I think that it'd be worth it to mention that these libraries have to be installed when using the macOS binary. |
For what it's worth, I just ran both of those scripts: HOST_OS=macOS ./.github/scripts/install-libff.sh
HOST_OS=macOS ./.github/scripts/install-libsecp256k1.sh And I reloaded my terminal, but I'm still getting the same error as in my original post. |
Uhm, interesting. We will investigate this issue. Let's keep this issue open. Thanks for the report. 🙂 |
Happy to help. Sorry to bug you - but do you happen to know what's going on in this other issue? |
Sure, let me check that. |
Ran into the same problem today. Installing libff with the bash script or from other sources does not seem to work. I'm on MacOS Mohave. Let me know if I can provide any useful info, will use the Docker container for now. Thanks! |
@fabiohild @PaulRBerg could you try out the binaries from the draft PR above and see if they work any better? You should not need to build/install libff nor libsecp256k1, as they are bundled in the zip file. https://github.com/crytic/echidna/actions/runs/323365632 |
Hey @elopez , It didn't work out of the box, but installing libgmp (through homebrew) was enough to get it working, it might be worth including it along with the binary too. Thanks a lot! |
@elopez can you modify your PR to include libgmp or detail how to install that library in the README? |
I've updated the PR and added a copy of libgmp as well, here's a fresh run if you want to try them out again. https://github.com/crytic/echidna/actions/runs/350638716 |
This should be fixed already. We don't have any release, but you can already try the MacOS nightly binaries. |
I ran these steps:
./echidna-test --version
And got this error:
Using macOS@10.15.7.
The text was updated successfully, but these errors were encountered: