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. CocoaPods 命令和使用

    CocoaPods 命令 pod init 在新建的项目根目录下运行该命令,为当前项目新建podfile文件. pod install 下载和配置 podfile里定义的项目依赖(不包括已经下载和配置 ...

  2. Cannot find class: com.mysql.jdbc.driver

    mybatis配置mysql报错,信息如下 Cause: java.sql.SQLException: Error setting driver on UnpooledDataSource. Caus ...

  3. 笔试算法题(54):快速排序实现之单向扫描、双向扫描(single-direction scanning, bidirectional scanning of Quick Sort)

    议题:快速排序实现之一(单向遍历) 分析: 算法原理:主要由两部分组成,一部分是递归部分QuickSort,它将调用partition进行划分,并取得划分元素P,然后分别对P之前的部分和P 之后的部分 ...

  4. [Python3网络爬虫开发实战] 1.2.5-PhantomJS的安装

    PhantomJS是一个无界面的.可脚本编程的WebKit浏览器引擎,它原生支持多种Web标准:DOM操作.CSS选择器.JSON.Canvas以及SVG. Selenium支持PhantomJS,这 ...

  5. [安装] mac安装PHP7经历

    背景 前几天在mac上跑workrman,由于workerman需要开启多个进程,多进程需要pcntl扩展的支持,我之前那个brew安装的php71没有这个扩展,就直接卸载了php71,然后想下载源码 ...

  6. GPIO——端口位设置/清除寄存器BSRR,端口位清除寄存器BRR

    端口位设置/复位寄存器BSRR: 注:如果同时设置了BSy和BRy的对应位,BSy位起作用. 位31:16  BRy: 清除端口x的位y (y = 0…15)      这些位只能写入并只能以字(16 ...

  7. Codeforces 805 D Minimum number of steps

    题意: 给定一串字符串,将所有“ab”的子串替换为“bba”,询问多少次操作后没有子串“ab”. 分析: 观察可得,将“ab”替换为“bba”有两种结果. ①a移到了b的后面 ②增加了一个b 而且最终 ...

  8. restful(3):认证、权限、频率 & 解析器、路由控制、分页、渲染器、版本

    models.py中: class UserInfo(models.Model): name = models.CharField(max_length=32) psw = models.CharFi ...

  9. 权限管理组件:rbac

    rbac: Role_Based Access Control,基于角色的权限控制 权限:一个包含正则表达式 的url就是一个权限 目录结构: rbac这个app中的文件代码如下: rbac/mode ...

  10. 面向对象:元类、异常处理(try...except...)

    元类: python中一切皆对象,意味着: 1. 都可以被引用,如 x = obj 2. 都可以被当做函数的参数传入 3. 都可以被当做函数的返回值 4. 都可以当做容器类的元素(列表.字典.元祖.集 ...