Traceback (most recent call last):
File "/data/xiaole_dl_img/product.v.one.banner.fixedperiod.genv.test.py", line 218, in <module>
import cv2
File "/root/anaconda3/lib/python3.5/site-packages/cv2/__init__.py", line 4, in <module>
from .cv2 import *
ImportError: libXdmcp.so.6: cannot open shared object file: No such file or directory

Traceback (most recent call last):
File "/data/xiaole_dl_img/product.v.one.banner.fixedperiod.genv.test.py", line , in <module>
import cv2
File "/root/anaconda3/lib/python3.5/site-packages/cv2/__init__.py", line , in <module>
from .cv2 import *
ImportError: libXdmcp.so.: cannot open shared object file: No such file or directory
  [root@mp3 ~]# yum list available | grep libXext
libXext.i686 1.3.-.el7 base
libXext.x86_64 1.3.-.el7 base
libXext-devel.i686 1.3.-.el7 base
libXext-devel.x86_64 1.3.-.el7 base
[root@mp3 ~]# yum install libXext.i686
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package libXext.i686 :1.3.-.el7 will be installed
--> Processing Dependency: libc.so.(GLIBC_2.) for package: libXext-1.3.-.el7.i686
--> Processing Dependency: libX11.so. for package: libXext-1.3.-.el7.i686
--> Running transaction check
---> Package glibc.x86_64 :2.17-.el7_0. will be updated
--> Processing Dependency: glibc = 2.17-.el7_0. for package: nscd-2.17-.el7_0..x86_64
--> Processing Dependency: glibc = 2.17-.el7_0. for package: glibc-devel-2.17-.el7_0..x86_64
--> Processing Dependency: glibc = 2.17-.el7_0. for package: glibc-headers-2.17-.el7_0..x86_64
--> Processing Dependency: glibc = 2.17-.el7_0. for package: glibc-common-2.17-.el7_0..x86_64
---> Package glibc.i686 :2.17-.el7_4. will be installed
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.17-.el7_4..i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.17-.el7_4..i686
---> Package glibc.x86_64 :2.17-.el7_4. will be an update
---> Package libX11.x86_64 :1.6.-2.1.el7 will be updated
---> Package libX11.i686 :1.6.-.el7 will be installed
--> Processing Dependency: libX11-common >= 1.6.-.el7 for package: libX11-1.6.-.el7.i686
--> Processing Dependency: libxcb.so. for package: libX11-1.6.-.el7.i686
---> Package libX11.x86_64 :1.6.-.el7 will be an update
--> Running transaction check
---> Package glibc-common.x86_64 :2.17-.el7_0. will be updated
---> Package glibc-common.x86_64 :2.17-.el7_4. will be an update
---> Package glibc-devel.x86_64 :2.17-.el7_0. will be updated
---> Package glibc-devel.x86_64 :2.17-.el7_4. will be an update
---> Package glibc-headers.x86_64 :2.17-.el7_0. will be updated
---> Package glibc-headers.x86_64 :2.17-.el7_4. will be an update
---> Package libX11-common.noarch :1.6.-2.1.el7 will be updated
---> Package libX11-common.noarch :1.6.-.el7 will be an update
---> Package libxcb.x86_64 :1.9-.el7 will be updated
---> Package libxcb.i686 :1.12-.el7 will be installed
--> Processing Dependency: libXau.so. for package: libxcb-1.12-.el7.i686
---> Package libxcb.x86_64 :1.12-.el7 will be an update
---> Package nscd.x86_64 :2.17-.el7_0. will be updated
---> Package nscd.x86_64 :2.17-.el7_4. will be an update
---> Package nss-softokn-freebl.x86_64 :3.16.-.el7_0 will be updated
---> Package nss-softokn-freebl.i686 :3.28.-.el7_4 will be installed
--> Processing Dependency: nspr >= 4.13. for package: nss-softokn-freebl-3.28.-.el7_4.i686
---> Package nss-softokn-freebl.x86_64 :3.28.-.el7_4 will be an update
--> Running transaction check
---> Package libXau.i686 :1.0.-2.1.el7 will be installed
---> Package nspr.x86_64 :4.10.-.el7_0 will be updated
---> Package nspr.x86_64 :4.13.-1.0.el7_3 will be an update
--> Finished Dependency Resolution
Error: Multilib version problems found. This often means that the root
cause is something else and multilib version checking is just
pointing out that there is a problem. Eg.: . You have an upgrade for libXext which is missing some
dependency that another package requires. Yum is trying to
solve this by installing an older version of libXext of the
different architecture. If you exclude the bad architecture
yum will tell you what the root cause is (which package
requires what). You can try redoing the upgrade with
--exclude libXext.otherarch ... this should give you an error
message showing the root cause of the problem. . You have multiple architectures of libXext installed, but
yum can only see an upgrade for one of those architectures.
If you don't want/need both architectures anymore then you
can remove the one with the missing update and everything
will work. . You have duplicate versions of libXext installed already.
You can use "yum check" to get yum show these errors. ...you can also use --setopt=protected_multilib=false to remove
this checking, however this is almost never the correct thing to
do as something else is very likely to go wrong (often causing
much more problems). Protected multilib versions: libXext-1.3.-.el7.i686 != libXext-1.3.-2.1.el7.x86_64
[root@mp3 ~]#
      
[root@mp3 ~]# yum list available | grep libXdmcp
libXdmcp.i686 1.1.2-6.el7 base
libXdmcp.x86_64 1.1.2-6.el7 base
libXdmcp-devel.i686 1.1.2-6.el7 base
libXdmcp-devel.x86_64 1.1.2-6.el7 base
[root@mp3 ~]# yum install libXdmcp.x86_64
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package libXdmcp.x86_64 0:1.1.2-6.el7 will be installed
--> Finished Dependency Resolution Dependencies Resolved ====================================================================================================================================================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================================================================================================================================================
Installing:
libXdmcp x86_64 1.1.2-6.el7 base 34 k Transaction Summary
====================================================================================================================================================================================================================================================================
Install 1 Package Total download size: 34 k
Installed size: 66 k
Is this ok [y/d/N]: y
Downloading packages:
libXdmcp-1.1.2-6.el7.x86_64.rpm | 34 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : libXdmcp-1.1.2-6.el7.x86_64 1/1
Verifying : libXdmcp-1.1.2-6.el7.x86_64 1/1 Installed:
libXdmcp.x86_64 0:1.1.2-6.el7 Complete!
[root@mp3 ~]# yum install libXdmcp.i686
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package libXdmcp.i686 0:1.1.2-6.el7 will be installed
--> Processing Dependency: libc.so.6(GLIBC_2.4) for package: libXdmcp-1.1.2-6.el7.i686
--> Running transaction check
---> Package glibc.x86_64 0:2.17-55.el7_0.5 will be updated
--> Processing Dependency: glibc = 2.17-55.el7_0.5 for package: nscd-2.17-55.el7_0.5.x86_64
--> Processing Dependency: glibc = 2.17-55.el7_0.5 for package: glibc-devel-2.17-55.el7_0.5.x86_64
--> Processing Dependency: glibc = 2.17-55.el7_0.5 for package: glibc-headers-2.17-55.el7_0.5.x86_64
--> Processing Dependency: glibc = 2.17-55.el7_0.5 for package: glibc-common-2.17-55.el7_0.5.x86_64
---> Package glibc.i686 0:2.17-196.el7_4.2 will be installed
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.17-196.el7_4.2.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.17-196.el7_4.2.i686
---> Package glibc.x86_64 0:2.17-196.el7_4.2 will be an update
--> Running transaction check
---> Package glibc-common.x86_64 0:2.17-55.el7_0.5 will be updated
---> Package glibc-common.x86_64 0:2.17-196.el7_4.2 will be an update
---> Package glibc-devel.x86_64 0:2.17-55.el7_0.5 will be updated
---> Package glibc-devel.x86_64 0:2.17-196.el7_4.2 will be an update
---> Package glibc-headers.x86_64 0:2.17-55.el7_0.5 will be updated
---> Package glibc-headers.x86_64 0:2.17-196.el7_4.2 will be an update
---> Package nscd.x86_64 0:2.17-55.el7_0.5 will be updated
---> Package nscd.x86_64 0:2.17-196.el7_4.2 will be an update
---> Package nss-softokn-freebl.x86_64 0:3.16.2-2.el7_0 will be updated
---> Package nss-softokn-freebl.i686 0:3.28.3-8.el7_4 will be installed
--> Processing Dependency: nspr >= 4.13.1 for package: nss-softokn-freebl-3.28.3-8.el7_4.i686
---> Package nss-softokn-freebl.x86_64 0:3.28.3-8.el7_4 will be an update
--> Running transaction check
---> Package nspr.x86_64 0:4.10.6-1.el7_0 will be updated
---> Package nspr.x86_64 0:4.13.1-1.0.el7_3 will be an update
--> Finished Dependency Resolution Dependencies Resolved ====================================================================================================================================================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================================================================================================================================================
Installing:
libXdmcp i686 1.1.2-6.el7 base 34 k
Installing for dependencies:
glibc i686 2.17-196.el7_4.2 updates 4.2 M
nss-softokn-freebl i686 3.28.3-8.el7_4 updates 199 k
Updating for dependencies:
glibc x86_64 2.17-196.el7_4.2 updates 3.6 M
glibc-common x86_64 2.17-196.el7_4.2 updates 11 M
glibc-devel x86_64 2.17-196.el7_4.2 updates 1.1 M
glibc-headers x86_64 2.17-196.el7_4.2 updates 676 k
nscd x86_64 2.17-196.el7_4.2 updates 273 k
nspr x86_64 4.13.1-1.0.el7_3 base 126 k
nss-softokn-freebl x86_64 3.28.3-8.el7_4 updates 214 k Transaction Summary
====================================================================================================================================================================================================================================================================
Install 1 Package (+2 Dependent packages)
Upgrade ( 7 Dependent packages) Total download size: 22 M
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/10): glibc-2.17-196.el7_4.2.x86_64.rpm | 3.6 MB 00:00:00
(2/10): glibc-2.17-196.el7_4.2.i686.rpm | 4.2 MB 00:00:00
(3/10): glibc-devel-2.17-196.el7_4.2.x86_64.rpm | 1.1 MB 00:00:00
(4/10): glibc-headers-2.17-196.el7_4.2.x86_64.rpm | 676 kB 00:00:00
(5/10): nscd-2.17-196.el7_4.2.x86_64.rpm | 273 kB 00:00:00
(6/10): nss-softokn-freebl-3.28.3-8.el7_4.i686.rpm | 199 kB 00:00:00
(7/10): nss-softokn-freebl-3.28.3-8.el7_4.x86_64.rpm | 214 kB 00:00:00
(8/10): libXdmcp-1.1.2-6.el7.i686.rpm | 34 kB 00:00:00
(9/10): glibc-common-2.17-196.el7_4.2.x86_64.rpm | 11 MB 00:00:00
(10/10): nspr-4.13.1-1.0.el7_3.x86_64.rpm | 126 kB 00:00:00
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 18 MB/s | 22 MB 00:00:01
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : glibc-common-2.17-196.el7_4.2.x86_64 1/17
Updating : nss-softokn-freebl-3.28.3-8.el7_4.x86_64 2/17
Updating : glibc-2.17-196.el7_4.2.x86_64 3/17
warning: /etc/nsswitch.conf created as /etc/nsswitch.conf.rpmnew
Updating : nspr-4.13.1-1.0.el7_3.x86_64 4/17
Updating : glibc-headers-2.17-196.el7_4.2.x86_64 5/17
Updating : glibc-devel-2.17-196.el7_4.2.x86_64 6/17
Updating : nscd-2.17-196.el7_4.2.x86_64 7/17
Installing : nss-softokn-freebl-3.28.3-8.el7_4.i686 8/17
Installing : glibc-2.17-196.el7_4.2.i686 9/17
Installing : libXdmcp-1.1.2-6.el7.i686 10/17
Cleanup : glibc-devel-2.17-55.el7_0.5.x86_64 11/17
Cleanup : glibc-headers-2.17-55.el7_0.5.x86_64 12/17
Cleanup : nscd-2.17-55.el7_0.5.x86_64 13/17
Cleanup : nspr-4.10.6-1.el7_0.x86_64 14/17
Cleanup : glibc-common-2.17-55.el7_0.5.x86_64 15/17
Cleanup : nss-softokn-freebl-3.16.2-2.el7_0.x86_64 16/17
Cleanup : glibc-2.17-55.el7_0.5.x86_64 17/17
Verifying : glibc-devel-2.17-196.el7_4.2.x86_64 1/17
Verifying : glibc-2.17-196.el7_4.2.i686 2/17
Verifying : libXdmcp-1.1.2-6.el7.i686 3/17
Verifying : nspr-4.13.1-1.0.el7_3.x86_64 4/17
Verifying : nss-softokn-freebl-3.28.3-8.el7_4.i686 5/17
Verifying : nscd-2.17-196.el7_4.2.x86_64 6/17
Verifying : glibc-2.17-196.el7_4.2.x86_64 7/17
Verifying : glibc-common-2.17-196.el7_4.2.x86_64 8/17
Verifying : nss-softokn-freebl-3.28.3-8.el7_4.x86_64 9/17
Verifying : glibc-headers-2.17-196.el7_4.2.x86_64 10/17
Verifying : glibc-2.17-55.el7_0.5.x86_64 11/17
Verifying : glibc-devel-2.17-55.el7_0.5.x86_64 12/17
Verifying : nscd-2.17-55.el7_0.5.x86_64 13/17
Verifying : glibc-headers-2.17-55.el7_0.5.x86_64 14/17
Verifying : glibc-common-2.17-55.el7_0.5.x86_64 15/17
Verifying : nspr-4.10.6-1.el7_0.x86_64 16/17
Verifying : nss-softokn-freebl-3.16.2-2.el7_0.x86_64 17/17 Installed:
libXdmcp.i686 0:1.1.2-6.el7 Dependency Installed:
glibc.i686 0:2.17-196.el7_4.2 nss-softokn-freebl.i686 0:3.28.3-8.el7_4 Dependency Updated:
glibc.x86_64 0:2.17-196.el7_4.2 glibc-common.x86_64 0:2.17-196.el7_4.2 glibc-devel.x86_64 0:2.17-196.el7_4.2 glibc-headers.x86_64 0:2.17-196.el7_4.2 nscd.x86_64 0:2.17-196.el7_4.2 nspr.x86_64 0:4.13.1-1.0.el7_3 nss-softokn-freebl.x86_64 0:3.28.3-8.el7_4 Complete!
[root@mp3 ~]#

  

libXdmcp.so.6的更多相关文章

  1. centos7安装mplayer 错误集锦

    (1)在 linux下运行程序时,发现了error while loading shared libraries这种错误,一时间不知道解决办法,在网上搜索,终于解决了:./tests: error w ...

  2. INSTALLING QUARTUS II V.13.1 64 BIT ON RHEL/CENTOS 6 64 BIT

    http://www.digitalsolutionslab.com/installing-quartus-ii-v-13-1-64-bit-on-rhelcentos-6-64-bit/ I hav ...

  3. Linux下Qt应用程序的发布(使用LDD命令查看所有依赖的库文件)

    最近一直在学习Qt,用Qt写了一个程序,但是不知道怎么发布,网上说的都是在windows下怎么发布Qt应用程序,但是,在windows下Qt应用程序依赖的库文件与linux下的名字不同.于是,我就想到 ...

  4. (亲测成功)在centos7.5上安装kvm,通过VNC远程连接并创建多台ubuntu虚拟机(ubuntu server版本)

    在centos7.5上安装kvm,通过VNC远程连接并创建多台ubuntu虚拟机 前提:服务器端安装桌面版的centos系统 CentOS Linux release 7.5.1804 (Core) ...

  5. [原]Docker部署SuperMap8.1.1

    摘要:本文主要实践在Docker上制作SuperMap(超图)V8.1.1镜像,文中将使用 docker commit 方式创新镜像(Dockerfile择机再做).本文中使用的宿主环境及镜像环境都是 ...

  6. Ubuntu 14.04 LTS 下使用校园网客户端DrclientLinux

    原先博客放弃使用,几篇文章搬运过来 下载客户端并解压 安装开发包 sudo -i dpkg --add-architecture i386 #添加32位的支持 apt-get update apt-g ...

  7. 基于lfslivecd-x86-6.3-r2145安装vnc和qemu

    文章目录 把lfslivecd复制到硬盘上使用 编译安装vnc 前后下载了多个软件包进行编译安装 编译VNC 启动VNC 编译安装qemu 启动VNC客户端并连接虚拟机的vncviewer 把lfsl ...

  8. CentOS7下安装caffe(包括ffmpeg\boost\opencv)

    因为有项目想采用深度学习,而caffe是深度学习框架中比较理想的一款,并且跨平台,以及可以采用python/matlab的方式进行调用等优势,所以想在服务器上安装,下面就开始了血泪史... 服务器是阿 ...

  9. ubuntu18.04+ cuda9.0+opencv3.1+caffe-ssd安装

    详细Ubuntu18.04,CUDA9.0,OpenCV3.1,Tensorflow完全配置指南 问题1:使用Cmake编译opencv源码 CMake Error: The following va ...

随机推荐

  1. 二、spring中装配bean

    在spring框架中提供了三种 bean的装配方式,当然这三种装配方式是可以灵活的进行组合使用的,项目中使用最多的是自动装配bean的方式,也就是通过注解的方式进行bean的装配,一下是四种装配方式的 ...

  2. 笔试算法题(11):Josephus环 & Fibonacci序列

    出题:Josephus Cycle,约瑟夫环问题.k个数字连成一个环,第一个数字为1.首先从1开始计数删除第m个数字:然后从上次被删除的数字的下一个数字开始计数,删除第m个数字:重复进行第二步直到只剩 ...

  3. assert.notEqual()

    浅测试,使用不等于比较运算符(!=)比较. const assert = require('assert'); assert.notEqual(1, 2); // OK assert.notEqual ...

  4. Python关于函数作为返回值的理解(3分钟就看完了)

    话不多说,直接看例子,上代码: def line_conf(): def line(x): return 2 * x + 1 return line #return a function object ...

  5. 洛谷 4933 洛谷10月月赛II T2 大师

    [题解] f[i][j]表示最后一个数为h[i],公差为j的等差数列的个数.n方枚举最后一个数和倒数第二个数转移即可.注意公差可能为负数,需要移动为正数再作为下标. #include<cstdi ...

  6. uva10537 最短路 倒推

    题意:知道了,最后需要的,那么就倒着最短路,推出去就可以了. 以最短路的方式来解决.

  7. C++对拍数据生成

    #include<map> #include<ctime> #include<queue> #include<cmath> #include<cs ...

  8. Codeforces 651B Beautiful Paintings【贪心】

    题意: 给定序列,重新排序,使严格上升的子序列最多.求这些子序列总长度. 分析: 贪心,统计每个元素出现次数,每次从剩余的小的开始抽到大的,直到不再剩余元素. 代码: #include<iost ...

  9. HttpClientUtil 工具类 实现跨域请求数据

    package com.xxx.common.util; import java.io.IOException; import java.net.URI; import java.util.Array ...

  10. ETL全量单表同步简述

    ETL全量单表同步简述 1. 实现需求 当原数据库的表有新增.更新.删除操作时,将改动数据同步到目标库对应的数据表. 2. 设计思路 设计总体流程图如下: 注意点: 1.数据库合并时,选择正确的数据源 ...