当前位置: 首页 > 工具软件 > libmemcached > 使用案例 >

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

宗政唯
2023-12-01

用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.

 类似资料: