ld: warning: ignoring file /usr/local/lib/libsodium.dylib, file was built for x86_64 which is not the architecture being linked (armv7): /usr/local/lib/libsodium.dylib
Undefined symbols for architecture armv7:
"_sodium_init", referenced from:
_config_encryption in libshadowsocks.a(encrypt.o)
"_crypto_stream_salsa20_xor_ic", referenced from:
_cipher_update in libshadowsocks.a(encrypt.o)
"_crypto_stream_chacha20_xor_ic", referenced from:
_cipher_update in libshadowsocks.a(encrypt.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ld: warning: ignoring file /usr/local/lib/libsodium.dylib, file was built for x86_64 which is not the architecture being linked (armv7): /usr/local/lib/libsodium.dylib Undefined symbols for architecture armv7: "_sodium_init", referenced from: _config_encryption in libshadowsocks.a(encrypt.o) "_crypto_stream_salsa20_xor_ic", referenced from: _cipher_update in libshadowsocks.a(encrypt.o) "_crypto_stream_chacha20_xor_ic", referenced from: _cipher_update in libshadowsocks.a(encrypt.o) ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)