Mac: ld: library not found for -lgcc_s.10.4

Mac: ld: library not found for -lgcc_s.10.4

 
Checking for cc... ld: library not found for -lgcc_s.10.4

clang: error: linker command failed with exit code 1 (use -v to see invocation)
 
Found the way to solve the problem
 
cd /usr/local/lib sudo ln -s ../../lib/libSystem.B.dylib libgcc_s.10.4.dylib
 
Thanks to italoag
https://github.com/nodejs/node/issues/2933
原文地址:https://www.cnblogs.com/already/p/11445387.html