yum报错的问题

可能是因为重复安装了curl .7.45 ,导致yum报错:

/usr/lib64/python2.6/site-packages/pycurl.so: undefined symbol: CRYPTO_set_locking_callback

网上看到是动态库冲突,按网上说的如下操作:

[[email protected] ~]#  ldd /usr/lib64/python2.6/site-packages/pycurl.so

      linux-vdso.so.1 =>  (0x00007fff677f6000)

      libcurl.so.4 => /usr/lib/libcurl.so.4 (0x00007f826a94a000)

      libpython2.6.so.1.0 => /usr/lib64/libpython2.6.so.1.0 (0x00007f826a5a4000)

      libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f826a386000)

      libc.so.6 => /lib64/libc.so.6 (0x00007f8269ff2000)

      librt.so.1 => /lib64/librt.so.1 (0x00007f8269dea000)

      libz.so.1 => /lib64/libz.so.1 (0x00007f8269bd3000)

      libdl.so.2 => /lib64/libdl.so.2 (0x00007f82699cf000)

      libutil.so.1 => /lib64/libutil.so.1 (0x00007f82697cc000)

      libm.so.6 => /lib64/libm.so.6 (0x00007f8269547000)

      /lib64/ld-linux-x86-64.so.2 (0x000000384b200000)

[[email protected] ~]# find / -name "libcurl.so.4"

/usr/lib/libcurl.so.4    

/usr/lib64/libcurl.so.4

/usr/local/lib/libcurl.so.4

/usr/local/att/curl-7.45.0/lib/.libs/libcurl.so.4

[[email protected] ~]# find / -name "libcurl.so.4"

libcurl.so.4指向四个动态库

一开始以为应该是指向是第一个动态库,就把这三个库删除了

/usr/lib64/libcurl.so.4

/usr/local/lib/libcurl.so.4

/usr/local/att/curl-7.45.0/lib/.libs/libcurl.so.4

之后报错,找了好久才发现原来应该指向/usr/lib64/libcurl.so.4

保留/usr/lib64/libcurl.so.4

删除其余的,问题解决。

时间: 2024-10-06 22:14:55

yum报错的问题的相关文章

rhel yum报错

用yum报错 http://mirrors.aliyun.com/centos/%24releasever/addons/x86_64/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out> Trying other mirror. http://mirrors.aliyuncs.com/centos/%24releasever/addons/x86_64/repodata/repomd.xml: [Errno 14

搭建仓库,yum报错无签署问题

在centos系统中使用yum报错 yum install xxx.rpm warning: Package xxx.rpm is not signed google一下,解决方法都是 1.修改yum.conf 路径:/etc/yum.conf 找到 gpgcheck=1 将其修改为0:gpgcheck=0 2.修改/etc/yum.repos.d /utterramblings.repo 找到 gpgcheck=1 将其修改为0:gpgcheck=0 如果不行 只要在在后面加上--nogpgc

yum报错setup has installed conflicts filesystem &lt; (&#39;0&#39;, &#39;3&#39;, None): filesystem

yum安装出现以下错误: Error: Depsolving loop limit reached. Error: Package: cloog-ppl-0.15.7-1.2.el6.x86_64 (@anaconda-CentOS-201508042137.x86_64/6.7) Requires: libgmp.so.3()(64bit) Removing: gmp-4.3.1-7.el6_2.2.x86_64 (@anaconda-CentOS-201508042137.x86_64/6.

解决yum报错:UnicodeDecodeError: &#39;ascii&#39; codec can&#39;t decode ... ordinal not in range

在使用yum部署环境的时候,出现了报错: UnicodeDecodeError: 'ascii' codec can't decode ... ordinal not in range 解决办法: [[email protected] ~]# ll /var/lib/rpm/*db*-rw-r--r-- 1 root root 73728 Aug 15 14:52 /var/lib/rpm/__db.001-rw-r--r-- 1 root root 270336 Aug 15 14:52 /v

[Q&A]yum报错‘database disk image is malformed’

错误描述: 在yum安装软件的过程中使用 Ctrl + c 组合键取消安装,之后再使用yum时报错: Error: database disk image is malformed 例如: [[email protected] etc]$ yum repolist Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile * base: mirrors.yun-idc.com * extr

Centos7.0安装python2.7后yum报错

yum报错: vi /usr/libexec/urlgrabber-ext-down 把头部的Python改成和/usr/bin/yum中一样的

yum报错:UnicodeDecodeError: &#39;ascii&#39; codec can&#39;t decode byte 0xbc

UnicodeDecodeError: 'ascii' codec can't decode byte 0xbc in position 3746: ordinal not in range(128) 解决: cd /var/lib/rpm/ rm -i __db.* yum clean all yum history new yum报错:UnicodeDecodeError: 'ascii' codec can't decode byte 0xbc

解决yum 不能更新问题 :yum 报错Loaded plugins: fastestmirror, refresh-packagekit, security

2018-07-02       21:43:13 Yum报错 [[email protected] yum.repos.d]# yum makecache Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile Error: Cannot find a valid baseurl for repo: elasticsearch-6.x [[ema

yum报错:This system is not registered to Red Hat Subscription Management.解决办法

使用yum安装软件,报错如下: [[email protected] ~]# yum -y install mariadbLoaded plugins: langpacks, product-id, subscription-managerThis system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.No package mariadb