码迷,mamicode.com
首页 > 其他好文 > 详细

解决configure: error: Could not link against !

时间:2014-11-22 21:41:52      阅读:316      评论:0      收藏:0      [点我收藏+]

标签:style   http   io   ar   os   sp   文件   on   2014   

问题描述:在./configure时出现error: Could not link against ! 

解决方法:来自 http://stackoverflow.com/questions/9132335/configure-error-could-not-link-against-boost-system
对于64位机:./configure --with-boost-libdir=/usr/lib/x86_64-linux-gnu
对于32位机:./configure --with-boost-libdir=/usr/lib/i386-linux-gnu(测试可用)


另一说法:来自https://baoz.net/%E8%A7%A3%E5%86%B3configure-error-could-not-link-against-%E9%97%AE%E9%A2%98boost%E7%9B%B8%E5%85%B3/

在64位里编译boost相关程序的时候,会遇到configure: error: Could not link against  !错误。

解决方法是用–with-boost-libdir=/usr/lib64 指定库文件位置即可解决。


2014-10-6

解决configure: error: Could not link against !

标签:style   http   io   ar   os   sp   文件   on   2014   

原文地址:http://my.oschina.net/diefrom/blog/347672

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!