sha3 icon indicating copy to clipboard operation
sha3 copied to clipboard

OSX compatible

Open eduardonunesp opened this issue 6 years ago • 2 comments

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

MacOS 10.12.6

eduardonunesp avatar Sep 25 '17 14:09 eduardonunesp

@eduardonunesp Got same issue here, did you solve this? Guess it might be problem of ELF format and Match-O format.

sc0Vu avatar Mar 12 '19 07:03 sc0Vu

I have the same issue... MacOS 10.13.6

AlexR2D2 avatar Mar 26 '19 07:03 AlexR2D2