shadowsocks / shadowsocks-iOS

Removed according to regulations.
8.17k stars 3.47k forks source link

sodium compile error #316

Open czx0132 opened 6 years ago

czx0132 commented 6 years ago

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)