OS X “library not found for -lgcc_s.10.5” 错误

问题原因

苹果将libgcc*.dylib弃用,转而使用libSystem.B.dylib。

解决方案

将libgcc*.dylib与libSystem.B.dylib之间建立连接

$ cd /usr/local/lib
$ sudo ln -s ../../lib/libSystem.B.dylib libgcc_s.10.5.dylib
$ sudo ln -s ../../lib/libSystem.B.dylib libgcc_s.10.4.dylib

4 thoughts on “OS X “library not found for -lgcc_s.10.5” 错误”

Comments are closed.