Skip to content
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

keccakf1600 loaded but keccakf1600_nif is not (Windows 10) #3

Open
seanwbren opened this issue Aug 1, 2019 · 0 comments
Open

keccakf1600 loaded but keccakf1600_nif is not (Windows 10) #3

seanwbren opened this issue Aug 1, 2019 · 0 comments

Comments

@seanwbren
Copy link

Hello, on a quite-fresh Windows 10 install I've run into this problem in both versions 2.0.0 and 3.0.0

iex(7)> [warn] The on_load function for module keccakf1600_nif returned:
{:error, {:load_failed, 'Failed to load NIF library c:/Users/seanw/Documents/Elixir/centraldao_umbrella/_build/dev/lib/keccakf1600/priv/keccakf1600_nif: \'The specified module could not be found.\''}}
iex(7)> :code.ensure_loaded(:keccakf1600)
iex(5)> {:module, :keccakf1600}

When running mix deps.compile I see:

===> Compiling mimerl
c_src/build_deps.sh
HEAD is now at d333521 Merge #494: Support OpenSSL versions >= 1.1 for ENABLE_OPENSSL_TESTS
./autogen.sh: line 3: autoreconf: command not found
make: *** [Makefile:30: priv/libsecp256k1_nif.so] Error 127
==> libsecp256k1
warning: Mix compiler :make_bindings was supposed to return {:ok | :noop | :error, [diagnostic]} but it returned :error
===> Compiling keccakf1600
===> Compiling certifi

So keccakf1600 seems to compile fine even with those errors, but I'm guessing those are the problem. Any advice? This may be a windows only issue due to autoconf or automake failing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant