library not found for -lcrt1.10.6.o

configure:2661: checking for C compiler default output file name
configure:2688: gcc conftest.c >&5
ld: library not found for -lcrt1.10.6.o
collect2: ld returned 1 exit status

 

 

sudo ln -s /Applications/xcode451/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk/usr/lib/crt1.10.6.o /Applications/xcode451/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib

sudo ln -s /Applications/xcode451/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk/usr/lib/crt1.10.6.o /Applications/xcode451/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1 

 http://tech.chickenandporn.com/2011/10/28/xcode-4-2-gcc-cannot-find-lcrt1-10-6-0-o/

你可能感兴趣的:(library)