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

Issues compiling keccakf1600 #59

Closed
derekbrown opened this issue Nov 15, 2021 · 1 comment
Closed

Issues compiling keccakf1600 #59

derekbrown opened this issue Nov 15, 2021 · 1 comment

Comments

@derekbrown
Copy link
Contributor

Erlang/OTP 24 [erts-12.1.4] installed on M1 Mac running Big Sur.

Dependencies downloaded just fine. Had to export the C_INCLUDE_PATH and make sure it included my Erlang's NIF files. Currently stuck at the following error message when trying to run the elixir program via iex:

Erlang/OTP 24 [erts-12.1.4] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [dtrace]

 C      decaf-utils.c
 C      keccakf1600_nif.c
 C      shake.c
 LD     keccakf1600.so
ld: warning: directory not found for option '-L/usr/local/Cellar/erlang/23.1.1/lib/erlang/lib/erl_interface-4.0.1/lib'
ld: library not found for -lerl_interface
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [/Users/USERNAME/workspace/PROJECT/deps/keccakf1600/c_src/../priv/keccakf1600.so] Error 1
===> Hook for compile failed!

** (Mix) Could not compile dependency :keccakf1600, "/Users/USERNAME/.mix/rebar3 bare compile --paths /Users/USERNAME/workspace/PROJECT/_build/local/lib/*/ebin" command failed. You can recompile this dependency with "mix deps.compile keccakf1600", update it with "mix deps.update keccakf1600" or clean it with "mix deps.clean keccakf1600"
@derekbrown derekbrown changed the title Issues compiling keccakf1600. Issues compiling keccakf1600 Nov 15, 2021
@derekbrown
Copy link
Contributor Author

Closing. Poor README led to installing outdated version. Updated in #60

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