libsvn_subr-1.so.0: undefined symbol: apr_atomic_xchgptr 故障解决
源码编译安装完成之后,查看svn的安装版本会报以下错误
svn: symbol lookup error: /usr/local/subversion/lib/libsvn_subr-.so.: undefined symbol: apr_atomic_xchgptr
问题是出在了libsvn_subr-1.so.0库文件上,那就先查看一下它所依赖的动态连接库信息吧
ldd /usr/local/subversion/lib/libsvn_subr-.so.
linux-vdso.so. => (0x00007fff023fd000)
libaprutil-.so. => /usr/local/apr-util/lib/libaprutil-.so. (0x00002ac3fe99f000)
libapr-.so. => /usr/local/apr/lib/libapr-.so. (0x00002ac3febc3000)
libuuid.so. => /lib64/libuuid.so. (0x00002ac3fee02000)
librt.so. => /lib64/librt.so. (0x00002ac3ff006000)
libcrypt.so. => /lib64/libcrypt.so. (0x00002ac3ff210000)
libexpat.so. => /lib64/libexpat.so. (0x00002ac3ff448000)
libz.so. => /usr/lib64/libz.so. (0x00002ac3ff66a000)
libdl.so. => /lib64/libdl.so. (0x00002ac3ff87f000)
libpthread.so. => /lib64/libpthread.so. (0x00002ac3ffa83000)
libmagic.so. => /usr/lib64/libmagic.so. (0x00002ac3ffc9e000)
libc.so. => /lib64/libc.so. (0x00002ac3ffeae000)
/lib64/ld-linux-x86-.so. (0x00000038e5200000)
问题找到了,libaprutil-1.so.0和libapr-1.so.0两个库文件连接的还是操作系统自带的apr和aprutil库文件,没有使用我之前编译安装的最新的库文件,依赖出错造成的这种问题。
1、不用卸载操作系统原有包,更改libaprutil-1.so.0和libapr-1.so的链接位置
rm /usr/lib64/libapr-.so.
ln -s /usr/local/apr/lib/libapr-.so. /usr/lib64/libapr-.so.
rm /usr/lib64/libaprutil-.so.
ln -s /usr/local/apr-util/lib/libaprutil-.so. /usr/lib64/libaprutil-.so.
2、卸载操作系统自带的这两个包,然后将最新编译的apr相关类库目录的位置打到/etc/ld.so.conf文件中,然后执行ldconfig就OK
# rpm -qa|grep apr
apr-util-1.2.7-11.el5_5.2
apr-1.2.7-11.el5_6.5
apr-util-1.2.7-11.el5_5.2
apr-1.2.7-11.el5_6.5 #rpm -e --allmatches apr-util
#rpm -e --allmatches apr
#echo '/usr/local/apr/lib'>>/etc/ld.so.conf
#echo '/usr/local/apr-util/lib'>>/etc/ld.so.conf
#ldconfig
再次进行版本的检查,已经返回成功了。
# svn --version
svn, version 1.8.13 (r1667537)
compiled Jun 4 2015, 10:01:00 on x86_64-unknown-linux-gnu Copyright (C) 2014 The Apache Software Foundation.
This software consists of contributions made by many people;
see the NOTICE file for more information.
Subversion is open source software, see http://subversion.apache.org/ The following repository access (RA) modules are available: * ra_svn : Module for accessing a repository using the svn network protocol.
- with Cyrus SASL authentication
- handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
- handles 'file' scheme
libsvn_subr-1.so.0: undefined symbol: apr_atomic_xchgptr 故障解决的更多相关文章
- apache安装mod_ssl.so 出现 undefined symbol: ssl_cmd_SSLPassPhraseDialog错误解决
很久很久以前,安装Apache的时候,根本没想过将来的某一天会使用到ssl,所以也就没有安装那个模块,结果今天需要用到的时候,却无从下手了. 由于在安装Apache的时候,mod_ssl.so这个文件 ...
- symbol lookup error: /lib64/libpango-1.0.so.0: undefined symbol: g_log_structured_standard 错误
通过更新glib2包修复.(yum update glib2)即可 拿走不谢,我也找得好辛苦!!!
- 关于 xcode 工程编译报错 undefined symbol _res_9_init的解决办法
将libresolv.dylib 添加到工程引用中(通过build phases中).补充: _res_9_init定义在resolv.h中,可以参考http://www.opensource. ...
- /usr/lib64/python2.6/site-packages/pycurl.so: undefined symbol: CRYPTO_set_locking_callback
[root@frontend01 yum.repos.d]# cd /etc/yum.repos.d;wget http://rpms.adiscon.com/v8-stable/rsyslog.re ...
- C++(3):./Encryptor: undefined symbol:Z11startserviceLAKJDFLJALDKJFLLLLL
在Linux下编译得Encryptor文件,但是执行./Encryptor时 报了如上错误:undefined symbol:Z11startserviceLAKJDFLJALDKJFLLLLL 原因 ...
- fastDfs V5.02 升级到 V5.08版本后,启动报错:symbol lookup error: /usr/bin/fdfs_trackerd: undefined symbol: g_current_time
/libfastcommon-1.0.36 # ./make.sh cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O3 -c -o hash.o ...
- undefined symbol: ap_log_rerror;apache2.4与weblogic点so文件
没法子啊:只能用 httpd-2.2.26 ============================== https://www.google.com.hk/#newwindow=1&q=un ...
- ubuntu 安装dlib 出现dlib.so: undefined symbol: png_set_longjmp_fn
参考网上的教程安装dlib 安装教程1 sudo apt-get install libboost-python-dev cmake sudo pip install dlib 安装教程2ubuntu ...
- [Bug]Python3.x AttributeError: libtest.so: undefined symbol: fact
写kNN,需要在python中实现kd-tree 思考了一下,在python下写这种算法类的东西,还是十分别扭 于是希望用ctypes调用一下c++动态加载库 于是尝试实现一下 // test.cpp ...
随机推荐
- Java Integer封装类的IntegerCache内部类
个人理解,不喜勿喷,欢迎指正. 首先看下面这段代码,猜一下输出结果是什么 Integer a = 10; Integer b = 10; System.out.println(a == b); a = ...
- 比较两个date返回日期相差天数
public static int daydiff(Date fDate, Date oDate) { Calendar aCalendar = Calendar.getInstance(); aCa ...
- vue引入百度地图api组件封装(根据地址定位)
Map.vue <template> <div class="Map" :style="{ height: this.height+'px', widt ...
- Motion control encoder extrapolation
Flying Saw debug Part1 Encoder extrapolation Machine introduction A tube cutting saw, is working for ...
- servlet 返回json 数据
后端的数据需要返回简单的json数据: 发现通过双引号和单引号:" { 'name':123 } "的方式返回失败. 需要通过\转义里边的双引号: response.getWr ...
- 学习Python Day1
学习PythonDay1,主要是学习了循环,while循环,for循环:while循环加if.else以及elif,for循环嵌套for循环:break,终止循环,continue跳出循环:for i ...
- 团队项目beta 汇总
一.冲刺计划安排 http://www.cnblogs.com/KKlist/p/6864124.html 二.七天的敏捷冲刺 第一天(2017.05.19) http://www.cnblogs.c ...
- 【Alpha】——Fourth Scrum Meeting
一.今日站立式会议照片 二.每个人的工作 成员 昨天已完成的工作 今天计划完成的工作 李永豪 完善添加功能 测试统计功能 郑靖涛 完善删除功能 着手编写报表设计 杨海亮 完善查找功能 协助编写统计功能 ...
- 201521123048 《Java程序设计》第7周学习总结
1. 本周学习总结 2. 书面作业 1.ArrayList代码分析 1.1 解释ArrayList的contains源代码 public boolean contains(Object o) { re ...
- python学习笔记1.2
在python中%的用处是求余数,而不是除数.