1. [root@frontend01 yum.repos.d]# cd /etc/yum.repos.d;wget http://rpms.adiscon.com/v8-stable/rsyslog.repo
  2. --2016-09-26 10:25:40-- http://rpms.adiscon.com/v8-stable/rsyslog.repo
  3. Resolving rpms.adiscon.com... 45.55.202.239
  4. Connecting to rpms.adiscon.com|45.55.202.239|:80... connected.
  5. HTTP request sent, awaiting response... 200 OK
  6. Length: 227
  7. Saving to: rsyslog.repo.1
  8.  
  9. 100%[=======================================================================================================================================================================================>] 227 --.-K/s in 0s
  10.  
  11. 2016-09-26 10:25:40 (28.2 MB/s) - rsyslog.repo.1 saved [227/227]
  12.  
  13. [root@frontend01 yum.repos.d]# yum install rsyslog
  14. There was a problem importing one of the Python modules
  15. required to run yum. The error leading to this problem was:
  16.  
  17. /usr/lib64/python2.6/site-packages/pycurl.so: undefined symbol: CRYPTO_set_locking_callback
  18.  
  19. Please install a package which provides this module, or
  20. verify that the module is installed correctly.
  21.  
  22. It's possible that the above module doesn't match the
  23. current version of Python, which is:
  24. 2.6.6 (r266:84292, Jan 22 2014, 09:42:36)
  25. [GCC 4.4.7 20120313 (Red Hat 4.4.7-4)]
  26.  
  27. If you cannot solve this problem yourself, please go to
  28. the yum faq at:
  29. http://yum.baseurl.org/wiki/Faq
  30.  
  31. 解决:
  32. [root@frontend01 pycurl-7.19.0]# python setup.py install --curl-config=/root/soft/curl-7.44.0/curl-config
  33. sh: /root/soft/curl-7.44.0/curl-config: Permission denied
  34. Traceback (most recent call last):
  35. File "setup.py", line 90, in <module>
  36. raise Exception, ("`%s' not found -- please install the libcurl development files" % CURL_CONFIG)
  37. Exception: `/root/soft/curl-7.44.0/curl-config' not found -- please install the libcurl development files
  38. [root@frontend01 pycurl-7.19.0]# ls -lltr /root/soft/curl-7.44.0/curl-config
  39. -rw-r--r-- 1 root root 4780 Aug 24 14:14 /root/soft/curl-7.44.0/curl-config
  40. [root@frontend01 pycurl-7.19.0]# vim python setup.py install --curl-config=/data/apps/deps/curl/bin/curl-config^C
  41. [root@frontend01 pycurl-7.19.0]# vim /root/soft/curl-7.44.0/curl-config
  42. [root@frontend01 pycurl-7.19.0]# chmod +x /root/soft/curl-7.44.0/curl-config
  43. [root@frontend01 pycurl-7.19.0]# python setup.py install --curl-config=/root/soft/curl-7.44.0/curl-config
  44.  
  45. src/pycurl.c:3423: warning: return type defaults to ‘int’
  46. src/pycurl.c: In function ‘DL_EXPORT’:
  47. src/pycurl.c:3423: error: expected declaration specifiers before ‘initpycurl’
  48. src/pycurl.c:3906: error: expected ‘{’ at end of input
  49. error: command 'gcc' failed with exit status 1
  50.  
  51. [root@frontend01 ~]# rpm -qa | grep pycurl-7.19.0
  52. python-pycurl-7.19.0-8.el6.x86_64
  53.  
  54. zjtest7-frontend:/usr/lib64# ls -ltr *curl*
  55. -rwxr-xr-x 1 root root 346008 Jun 26 2013 libcurl.so.4.1.1
  56. lrwxrwxrwx. 1 root root 16 Jan 15 2015 libcurl.so.4 -> libcurl.so.4.1.1
  57.  
  58. 解决方法:
  59. [root@frontend01 lib64]# ls -ltr *curl*
  60. -rwxr-xr-x 1 root root 346424 May 28 2014 libcurl.so.4.1.1
  61. -rwxr-xr-x 1 root root 367232 Aug 24 14:15 libcurl.so.4.4.0
  62. -rwxr-xr-x 1 root root 940 Aug 24 14:15 libcurl.la
  63. -rw-r--r-- 1 root root 729124 Aug 24 14:15 libcurl.a
  64. 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的更多相关文章

  1. 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 删除动态库配置中 ...

  2. /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 ...

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

  4. /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 ...

  5. /usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child

    https://www.jb51.net/article/142787.htm gn gn  问题如何解决?????

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

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

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

  9. /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 ...

随机推荐

  1. 解决display: inline-block; 4px间隙的全兼容做法

    就拿ul, li标签做例,关键代码如下: ul{ font-size: 0; letter-spacing: -4px; word-spacing: -4px; //解决4px间隙的全兼容做法 } l ...

  2. requirejs2读书笔记

    If you want to do require() calls in the HTML page, then it is best to not use data-main. data-main ...

  3. Maven assembly插件输出文件乱码问题

    使用Maven的<artifactId>maven-assembly-plugin</artifactId>插件导致输出的XML配置文件源文件的中文注释变成乱码,排查了多个地方 ...

  4. 重叠I/O之事件通知

      在 Winsock 中,重叠 I/O(Overlapped I/O)模型能达到更佳的系统性能,高于select模型.异步选择和事件选择三种.重叠模型的基本设计原理便是让应用程序使 用一个重叠的数据 ...

  5. spring03autowire属性

    1.创建需要的实体类 public class Student { //学生实体类 private String name; //姓名 private Integer age; //年龄 privat ...

  6. 网页JavaScript4

    表单验证:一.非空验证:1.内容是不是空的.判断值的长度是不是0.length属性.压缩空格的函数. 2.内容是不是改变了. 二.对比验证:1.验证两个控件值的关系(相同,大小) 2.验证控件的值与某 ...

  7. nyoj 42

    #include <iostream> #include <stdio.h> #include <cstring> #include <algorithm&g ...

  8. CSS3 之动画及兼容性调优

    由于CSS3动画对低版本的浏览器的支持效果并不是很好,特别是IE9及以下版本,更是无法支持. 所以有时候一些简单的动画效果,还只是用js代码来实现,但是效率偏低,而且效果有些偏生硬,不够顺滑. 毕竟用 ...

  9. js动态新增组合Input标签

    var x = 1; function addlink() { var linkdiv = document.getElementById("add1_0"); if (linkd ...

  10. 关于在head里的link href=<%=%>,其中前置百分号给编码了的解决方案

    做了一个项目,主要是能够自动换模板,实际就是插入数据库那个css名称,然后前台取出那个值,放入getcss变量里(getcss自己定义的一个变量),然后通过link href=<%=%>取 ...