关于libtool: link: warning: libmemcached.la seems to be moved

用libtool编译程序时,调用使用libmemcached.so的时候,出警告

libtool: link: warning: libmemcached.la seems to be moved

 

出这个情况的原因是,libmemcached.la这个文件已经被更新了,指定路径的地方已经变了,只要手动改回来即可

如库路径指定为 libdir='/usr/local/lib'

 

 

 

别人遇到问题的解释链接

http://archives.devshed.com/forums/development-94/libtool-link-warning-libexpat-la-seems-to-be-moved-1957466.html

 

FYI, those .la files are textfiles that describe where a library expects to be
installed, what other libs it depends on etc. The warning means that the
library was moved to a different place than the one it expected to be,
possibly causing it to not function or not function properly.

Lastly, you can install Subversion from source without any root privileges at
all, the only thing you need is to pass e.g. ' ~/svn-install' to
configure and adapt a few things like PATH and LD_LIBRARY_PATH. This helps
keeping this install from affecting other stuff on the system. In fact that
is a feature of autotools, so every program that comes with a configure
script should be installable like that.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值