您的位置:首页 > 运维架构 > Linux

64位Linux安装subversion-1.7.6时,错误undefined reference to `XML_StopParser'

2014-11-21 17:15 627 查看
64位Linux安装subversion-1.7.6时,发生错误undefined reference to `XML_StopParser'

make的时候发生如下错误:

/usr/local/lib/libneon.a(ne_xml.o): In function `entity_declaration':

/home/xxxxx/neon-0.29.6/src/ne_xml.c:421: undefined reference to `XML_StopParser'

研究:

根据网上搜索的一些解决方案中提到了与libtool有关。我的机器是 CentOS6.4, 所带的libtool的版本是 libtool-2.2.6-15.5.el6.x86_64 。
svn需要的neon是neon-0.29.6 , 在安装 neon-0.29.6的时候,运行./configure 后,目录下会有一个libtool文件,其版本是 libtool (GNU libtool) 2.2.10 ,此版本有可能不是64位的。

解决:

在neon-0.29.6中,运行./configure 后, copy  /usr/bin/libtool 到 neon-0.29.6目录中,替换掉原来的。然后再make &make install
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐