/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.repo
--2016-09-26 10:25:40-- http://rpms.adiscon.com/v8-stable/rsyslog.repo
Resolving rpms.adiscon.com... 45.55.202.239
Connecting to rpms.adiscon.com|45.55.202.239|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 227
Saving to: “rsyslog.repo.1” 100%[=======================================================================================================================================================================================>] 227 --.-K/s in 0s 2016-09-26 10:25:40 (28.2 MB/s) - “rsyslog.repo.1” saved [227/227] [root@frontend01 yum.repos.d]# yum install rsyslog
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was: /usr/lib64/python2.6/site-packages/pycurl.so: undefined symbol: CRYPTO_set_locking_callback Please install a package which provides this module, or
verify that the module is installed correctly. It's possible that the above module doesn't match the
current version of Python, which is:
2.6.6 (r266:84292, Jan 22 2014, 09:42:36)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq 解决:
[root@frontend01 pycurl-7.19.0]# python setup.py install --curl-config=/root/soft/curl-7.44.0/curl-config
sh: /root/soft/curl-7.44.0/curl-config: Permission denied
Traceback (most recent call last):
File "setup.py", line 90, in <module>
raise Exception, ("`%s' not found -- please install the libcurl development files" % CURL_CONFIG)
Exception: `/root/soft/curl-7.44.0/curl-config' not found -- please install the libcurl development files
[root@frontend01 pycurl-7.19.0]# ls -lltr /root/soft/curl-7.44.0/curl-config
-rw-r--r-- 1 root root 4780 Aug 24 14:14 /root/soft/curl-7.44.0/curl-config
[root@frontend01 pycurl-7.19.0]# vim python setup.py install --curl-config=/data/apps/deps/curl/bin/curl-config^C
[root@frontend01 pycurl-7.19.0]# vim /root/soft/curl-7.44.0/curl-config
[root@frontend01 pycurl-7.19.0]# chmod +x /root/soft/curl-7.44.0/curl-config
[root@frontend01 pycurl-7.19.0]# python setup.py install --curl-config=/root/soft/curl-7.44.0/curl-config src/pycurl.c:3423: warning: return type defaults to ‘int’
src/pycurl.c: In function ‘DL_EXPORT’:
src/pycurl.c:3423: error: expected declaration specifiers before ‘initpycurl’
src/pycurl.c:3906: error: expected ‘{’ at end of input
error: command 'gcc' failed with exit status 1 [root@frontend01 ~]# rpm -qa | grep pycurl-7.19.0
python-pycurl-7.19.0-8.el6.x86_64 zjtest7-frontend:/usr/lib64# ls -ltr *curl*
-rwxr-xr-x 1 root root 346008 Jun 26 2013 libcurl.so.4.1.1
lrwxrwxrwx. 1 root root 16 Jan 15 2015 libcurl.so.4 -> libcurl.so.4.1.1 解决方法:
[root@frontend01 lib64]# ls -ltr *curl*
-rwxr-xr-x 1 root root 346424 May 28 2014 libcurl.so.4.1.1
-rwxr-xr-x 1 root root 367232 Aug 24 14:15 libcurl.so.4.4.0
-rwxr-xr-x 1 root root 940 Aug 24 14:15 libcurl.la
-rw-r--r-- 1 root root 729124 Aug 24 14:15 libcurl.a
lrwxrwxrwx 1 root root 16 Sep 26 11:26 libcurl.so.4 -> libcurl.so.4.1.1
/usr/lib64/python2.6/site-packages/pycurl.so: undefined symbol: CRYPTO_set_locking_callback的更多相关文章
- yum运行报错:/usr/lib64/python2.7/site-packages/pycurl.so: undefined symbol: CRYPTO_num_locks
是因为yum动态库使用了新安装libcurl库导致的.使用ldd查看动态库依赖关系: ldd /usr/lib64/python2.7/site-packages/pycurl.so 删除动态库配置中 ...
- /usr/lib64/python2.6/lib-dynload/pyexpat.so: symbol XML_SetHashSalt, version EXPAT_2_0_1_RH not defined in file libexpat.so.1 with link time reference
解决方法:[root]$cd /usr/lib64/python2.6/lib-dynload[root]$ln -s /lib64/libexpat.so.1.5.2 libexpat.so.0[r ...
- centos perl: symbol lookup error: /usr/local/lib64/perl5/auto/DBD/mysql/mysql.so: undefined symbol: mysql_init
之前在安装天兔数据库监控工具lepus的时候,运行时一直报perl: symbol lookup error: /usr/local/lib64/perl5/auto/DBD/mysql/mysql. ...
- /usr/lib64/python2.6/site-packages/cryptography/__init__.py:26: DeprecationWarning: Python 2.6 is no longer supported by the Python core team
升级python2.6到2.7后,执行ansible后一直显示警告,如标题所示. 因为安装ansible,使用的是yum的方式,而yum使用的是python2.6,所以ansible安装环境为pyth ...
- /usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
https://www.jb51.net/article/142787.htm gn gn 问题如何解决?????
- R语言 启动报错 *** glibc detected *** /usr/lib64/R/bin/exec/R: free(): invalid next size (fast): 0x000000000263a420 *** 错误 解决方案
*** glibc detected *** /usr/lib64/R/bin/exec/R: free(): invalid next size (fast): 0x000000000263a420 ...
- error while loading shared libraries: /usr/lib64/libc.so.6: invalid ELF header
在安装一个程序的时候提示libc.so.6过旧,但是查看libc.so的版本是最新的,于是尝试使用尝试软链接 ln -s /usr/lib64/libc.so /usr/lib64/libc.so. ...
- yum安装报错有冲突file /usr/lib64/php/modules/fileinfo.so conflicts between
yum安装报错有冲突file /usr/lib64/php/modules/fileinfo.so conflicts between attempted installs of php-pecl-f ...
- /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found,解压rpm包
如果是64位系统报错信息如下: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by 原因是没有GLIB ...
随机推荐
- 微信公众账号【iOSDevTip】推出新栏目【看大牛】
首先你须要关注微信公众账号[iOSDevTip] 基于微信公众平台数据分析.非常easy发现.移动端project师都喜欢关注互联网创业资讯.都说.一个不关注互联网创业的iOS开发不是一个合格的互联网 ...
- 与Scheme共舞
发表在<程序猿>2007年7月刊上.不log上写帖子不用考虑版面限制,所以这里的帖子比发表的啰嗦点.赵健平编辑,Jacky,和刘未鹏都给了我非常多帮助,在这里一并谢了.免费的Scheme实 ...
- 配置NTP时间服务器
一.安装ntp软件 1.检查是否安装了ntp相关包. rpm -qa | grep ntp 2.安装ntp软件. yum -y install ntp 二.参数讲解 ignore :关闭所有的 NT ...
- systemd添加自定义系统服务设置自定义开机启动
1.服务权限 systemd有系统和用户区分:系统(/user/lib/systemd/system/).用户(/etc/lib/systemd/user/).一般系统管理员手工创建的单元文件建议存放 ...
- sass笔记-3|Sass基础语法之样式复用和保持简洁
上一篇详述了Sass如何嵌套.导入和注释这3个基本方式来保持条理性和可读性,这一篇更进一步地阐述sass保持样式复用和简洁的方式--混合器和选择器继承--这两种方式都能复用样式,使用它们也不难,但一定 ...
- 判断线段相交(hdu1558 Segment set 线段相交+并查集)
先说一下题目大意:给定一些线段,这些线段顺序编号,这时候如果两条线段相交,则把他们加入到一个集合中,问给定一个线段序号,求在此集合中有多少条线段. 这个题的难度在于怎么判断线段相交,判断玩相交之后就是 ...
- C++学习笔记39:进程概念
进程的基本概念 进程是描述程序执行过程和资源共享的基本单位 主要目的:控制和协调程序的执行 进程相关函数 用户与组ID函数 创建进程:system(),fork(),exec() 终止进程:kill( ...
- (转)使用DataTime这个类来获取当前的时间
我们可以通过使用DataTime这个类来获取当前的时间.通过调用类中的各种方法我们可以获取不同的时间:如:日期(--).时间(::).日期+时间(-- ::)等. //获取日期+时间 DateTime ...
- webform 复杂点的服务器控件
1 , dropdownlist: 下拉框 属性items 列表集合, 里面的每一个元素是一个 listitem . 联动的时候注意要 设置属性 .Autopostback 为ture: 注注 ...
- canvas toDataUrl 跨域问题
使用canvas 的 toDataUrl方法会遇到跨域问题 chrome 会报下面的错误: Uncaught SecurityError: Failed to execute 'toDataURL' ...