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
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
相关文章推荐
- linux编译安装php5.4遇到错误:undefined reference to `libiconv_open'
- Linux下安装Coreseek提示“/src/sphinx.cpp:22292: undefined reference to”错误的解决办法
- CodeBlocks Linux下调用dlopen undefined reference to dlopen 错误
- linux 编译错误:undefined reference to `__gxx_personality_v0'
- linux 下多线程错误 undefined reference to `sem_init'
- Linux下编译C++程序遇到错误:undefined reference to `*::*
- PHP 5.3.10 编译安装时出现 undefined reference to `libiconv' 错误的解决方法
- Linux下编译C++程序遇到错误:undefined reference to '***'
- linux安装QtCreator出现undefined reference to 'drmCloseOnce'
- QT for linux 的错误 undefined reference to 'FcFreeTypeQueryFace' 的解决方法
- 关于Linux环境编译错误:“undefined reference to" 的原因总结
- linux 下安装opencv3.0在编译时出现的问题undefined reference to `parallel_pthreads_set_threads_num(int)'
- linux 编译程序时得到undefined reference to 'xxxx'这样的错误提示
- QT for linux 的错误 undefined reference to 'FcFreeTypeQueryFace' 的解决方法
- 在liunx编译C语言程序出现Undefined reference to pthread_create in Linux 错误*
- mysql编译错误:undefined reference to `dlclose' Linux
- 解决linux 下多线程错误 undefined reference to `sem_init'
- Linux-Linux下安装redis报错"undefined reference to__sync_add_and_fetch_4"解决办法
- php 安装错误 undefined reference to `sapi_globals_id'
- linux 下多线程错误 undefined reference to `sem_init'