/usr/bin/ld: cannot find *** 的处理

转载自http://blog.sina.com.cn/s/blog_67bbb71101010tto.html
用g++编译C++程序时显示出:
/usr/lib/ld: cannot find -lc
/usr/lib/ld: cannot find -lgcc_s
/usr/lib/ld: cannot find -lm
/usr/lib/ld: cannot find -lgcc_s的错误。在网上看了很多中关于/usr/lib/ld: cannot find -lXXX的解法,但是大同小异,没有很具体的讲解。所以把我的解决方法记录一下。
继续阅读“/usr/bin/ld: cannot find *** 的处理”