Error: Dynamic Linking Error: dlopen(/Users/wangmeng/Desktop/work/bitdesk-core/client/node_modules/js-sero-client/tools/lib_DARWIN_AMD64/libsuperzk.dylib, 0x0002): Library not loaded: /usr/local/opt/gmp/lib/libgmp.10.dylib
Referenced from: <B6B122A3-FA8B-386F-A34B-E28B09D40DD9> /Users/wangmeng/Desktop/work/bitdesk-core/client/node_modules/js-sero-client/tools/lib_DARWIN_AMD64/libsuperzk.dylib
Reason: tried: '/usr/local/opt/gmp/lib/libgmp.10.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/gmp/lib/libgmp.10.dylib' (no such file), '/usr/local/opt/gmp/lib/libgmp.10.dylib' (no such file), '/usr/local/lib/libgmp.10.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/usr/lib/libgmp.10.dylib' (no such file, not in dyld cache)
1.查看gmp
2.卸载gmp
报错说不行:
To install under x86_64, install Homebrew into /usr/local.
所以我们先安装个homebrew去 /usr/local
装完以后,报错
Process finished with exit code 132 (interrupted by signal 4: SIGILL)