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/

posted @ 2013-02-07 22:50  zyip  阅读(717)  评论(0编辑  收藏  举报