I'm trying in Elixir 1.5.1, not sure if it works the :sha3 module wasn't available, also it raise some warnings, looks like it has some incompatibility.
===> Compiling sha3
cc /Users/developer/Sandbox/oracle/deps/sha3/c_src/KeccakNISTInterface.o /Users/developer/Sandbox/oracle/deps/sha3/c_src/KeccakSponge.o /Users/developer/Sandbox/oracle/deps/sha3/c_src/ref/KeccakF-1600-reference.o /Users/developer/Sandbox/oracle/deps/sha3/c_src/sha3_nifs.o -arch x86_64 -flat_namespace -undefined suppress -lstdc++ -shared -L /usr/local/Cellar/erlang/20.0.5/lib/erlang/lib/erl_interface-3.10/lib -lerl_interface -lei -o /Users/developer/Sandbox/oracle/deps/sha3/c_src/../priv/sha3.so
ld: warning: ld: warning: ignoring file /Users/developer/Sandbox/oracle/deps/sha3/c_src/KeccakNISTInterface.o, file was built for unsupported file format ( 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ) which is not the architecture being linked (x86_64): /Users/developer/Sandbox/oracle/deps/sha3/c_src/KeccakNISTInterface.oignoring file /Users/developer/Sandbox/oracle/deps/sha3/c_src/KeccakSponge.o, file was built for unsupported file format ( 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ) which is not the architecture being linked (x86_64): /Users/developer/Sandbox/oracle/deps/sha3/c_src/KeccakSponge.o
ld: warning: ignoring file /Users/developer/Sandbox/oracle/deps/sha3/c_src/sha3_nifs.o, file was built for unsupported file format ( 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ) which is not the architecture being linked (x86_64): /Users/developer/Sandbox/oracle/deps/sha3/c_src/sha3_nifs.o
ld: warning: ignoring file /Users/developer/Sandbox/oracle/deps/sha3/c_src/ref/KeccakF-1600-reference.o, file was built for unsupported file format ( 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ) which is not the architecture being linked (x86_64): /Users/developer/Sandbox/oracle/deps/sha3/c_src/ref/KeccakF-1600-reference.o
I'm trying in Elixir 1.5.1, not sure if it works the
:sha3
module wasn't available, also it raise some warnings, looks like it has some incompatibility.MacOS 10.12.6