forked from mbrix/libsecp256k1
-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
OS: 12.1
elixir: 1.13.2
erlang: 24.0.6
Getting this error when running mix deps.compile
c_src/secp256k1/src/num_gmp.h:10:10: fatal error: 'gmp.h' file not found
#include <gmp.h>
^~~~~~~
1 error generated.
make: *** [priv/libsecp256k1_nif.so] Error 1
==> libsecp256k1
warning: Mix compiler :make_bindings was supposed to return {:ok | :noop | :error, [diagnostic]} but it returned :error
gmp is already installed according to brew:
Warning: gmp 6.2.1_1 is already installed and up-to-date.
To reinstall 6.2.1_1, run:
brew reinstall gmp
I'm not sure how to approach this problem. Did anyone manage to compile this library on m1 macs?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels