-
Notifications
You must be signed in to change notification settings - Fork 23
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
Compiled error on mac #17
Comments
@sc0Vu, to fix #2 you need to install the GMP package
I think I'm trying to debug #1 in Mac OS as well. This is the config.log after I run mix compile
If I cd into deps/libsecp256k1/c_src and run build_deps from there it works.
This tells me the main Makefile executing the build_deps bash script doesn't get access to the same bash environment variables ? |
Having the same issue with gmp. Did you manage to solve this issue or is there any alternative? |
Hi
Thanks for this great library. Recently I got error on my mac pro when I want to compile this library.
OS: Mojave 10.14.2
XCODE version: 10.1
The first error: configure error at line 77
After I compiled the source code from bitcoin (clone in another directory), and it worked fine.
So I checked the file permission in mix directory, found that it happened because the wrong permission in the cloned repo: c_src/libsecp256k1.
Maybe we can put libsecp256k1 in this repo?
The second error: ld: library not found for -lgmp
I removed the flag and it worked!. I have no idea how to fix it properly.
Thanks!
The text was updated successfully, but these errors were encountered: