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. css一个div设置多个背景图片

    html:定义一个div <div class="item__content"></div> css:样式 .item__content { positio ...

  2. Python学习-初始列表

    初始列表 列表中的排放是没有顺序的并且可以被修改 在列表中你可以放入任何的元素类型.字符串,数字,布尔值等等,甚至还可以进行列表的嵌套 列表的注意特征:用中括号包围,中间用逗号分隔开 list = [ ...

  3. 性能测试培训day2

    上节课 性能测试,多线程.协议.场景 实施:1,脚本开发 运行  排错(看回放,然后view-test_results,看业务) 参数化.关联.检查点.事务.思考时间.集合点 参数化:不做参数化的话, ...

  4. allegro中出光绘文件遇到问题的解决办法

    一:设置好光绘文件参数后,选择check dabase before artwork后,点击生成光绘时出现错误告警信息:    database has errors:artwork generati ...

  5. 7-8 哈利·波特的考试(25 分)(图的最短路径Floyd算法)

    7-8 哈利·波特的考试(25 分) 哈利·波特要考试了,他需要你的帮助.这门课学的是用魔咒将一种动物变成另一种动物的本事.例如将猫变成老鼠的魔咒是haha,将老鼠变成鱼的魔咒是hehe等等.反方向变 ...

  6. 1004. 成绩排名 (20) (快速排序qsort函数的使用问题)

    读入n名学生的姓名.学号.成绩,分别输出成绩最高和成绩最低学生的姓名和学号. 输入格式:每个测试输入包含1个测试用例,格式为 第1行:正整数n 第2行:第1个学生的姓名 学号 成绩 第3行:第2个学生 ...

  7. 关于FFM (Field-aware Factorization Machines) 的几篇博客

    深入FFM原理与实践 http://tech.meituan.com/deep-understanding-of-ffm-principles-and-practices.html#mjx-eqn-e ...

  8. lines-HDU5124(区间处理 +离散化)

    Problem Description John has several lines. The lines are covered on the X axis. Let A is a point wh ...

  9. cogs——73. 找最佳通路

    73. 找最佳通路 ★☆   输入文件:city.in   输出文件:city.out   简单对比时间限制:1 s   内存限制:128 MB 问题描述有 n 个 城市,它们之间的交通情况已知.现在 ...

  10. Memcached的几种Java客户端(待实践)

    其实现在来尝试Memcached的客户端估计会有点过气,因为现在大势基本都在Redis那边. Memcached Client目前有3种: Memcached Client for Java(已经停止 ...