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. python闭包浅见

    1.个人理解定义:在一个函数A内部定义一个函数B,并在定义的内部函数B内对这个函数A的变量进行引用,那么内部函数B就是闭包. 2.特性:在内部函数内不能对A函数的变量进行更改 (但是可以将其封装到一个 ...

  2. python 列表生成式、lower()和upper()的使用

    参考: http://www.liaoxuefeng.com/wiki/001374738125095c955c1e6d8bb493182103fac9270762a000/0013868196389 ...

  3. MySQL-----多对多

    多对多: 示例1: 用户表和相亲记录表 用户表 用户id 用户名                  性别 1 George  男 2 Elizabeth 女 3 Bruce 男 4 Catherine ...

  4. Python之面向对象新式类和经典类

    Python之面向对象新式类和经典类 新式类和经典类的继承原理: 在Python3中,就只有新式类一种了. 先看Python3中新式类: 类是有继承顺序的: Python的类是可以继承多个类的,也就是 ...

  5. Django之模板引擎(母版)

    Django之模板引擎(母版) 母版:存放所有页面的基本信息,基本样式 子班:继承母版 自定义当前页面私有的样式信息 母版的样式: {% block xxx(名称) %} xxxxxxx(数据) {% ...

  6. 圆角计算 Shader

    圆角的计算 在Shader中,我们使用UV坐标来计算需要显示的部分和不需要显示的部分,使用透明来处理显示与不显示.UV坐标如下图1,我们将坐标平移到图2位置,面片的UV坐标原点在面片中心,UV坐标范围 ...

  7. 全文搜索(A-2)-推荐算法

    一般来说推荐算法分为两类. 基于内容过滤的推荐: 基于协同过滤的推荐: 基于内容过滤的推荐,基于特征码描述项目. 协同过滤算法的设计基于一个假设,“和目标用户相似度高的用户,其感兴趣的物品目标用户也会 ...

  8. hdu 1814 2-sat 输出字典最小的和任意序列的 模板题

    /* 思路:http://blog.csdn.net/string_yi/article/details/12686873 hdu 1814 输出字典序最小的2-sat */ #include< ...

  9. codeforces 330b

    #include<stdio.h> #include<string.h> #include<stdlib.h> #define N 1100 int map[N]; ...

  10. 单调队列&单调栈 基础

    参考博客https://www.cnblogs.com/tham/p/8038828.html 例题  poj 2823 Sliding Window Time Limit: 12000MS   Me ...