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
发布了79 篇原创文章 · 获赞 8 · 访问量 2万+

猜你喜欢

转载自blog.csdn.net/qq_34219959/article/details/101783734