ImportError: libxml2.so.2: cannot open shared object file: No such file or directory

此错的解决方法就是下载libxml2.so.2

RPM安装:
#rpm -ivh libxml2-2.6.26.....rpm

时间: 2024-08-01 03:56:49

ImportError: libxml2.so.2: cannot open shared object file: No such file or directory的相关文章

ImportError: libmysqlclient.so.18: cannot open shared object file: No such file or directory

情景:在python中使用mysql 已知: [[email protected] muahao03]# pip list Django (1.7.1) MySQL-python (1.2.5) pip (1.5.6) pysqlite (2.6.3) setuptools (8.2.1) wsgiref (0.1.2) 已经安装 MySQL-python 报错: ImportError: libmysqlclient.so.18: cannot open shared object file:

ImportError: libmysqlclient.so.20: cannot open shared object file: No such file or directory 解决办法

>>> import MySQLdbTraceback (most recent call last):  File "<stdin>", line 1, in <module>  File "build/bdist.linux-x86_64/egg/MySQLdb/__init__.py", line 19, in <module>  File "build/bdist.linux-x86_64/eg

ImportError: libQtTest.so.4: cannot open shared

错误: import cv2 File "/usr/local/lib/python3.5/dist-packages/cv2/__init__.py", line 3, in <module> from .cv2 import * ImportError: libQtTest.so.4: cannot open shared object file: No such file or directory 解决: sudo apt install libqt4-test  

Ubuntu14.04 ,libboost_filesystem.so.1.54.0: cannot open shared object file: No such file or directory

[email protected]:/opt$ roslaunch blarospack : error while loading shared libraries: libboost_filesystem.so.1.54.0: cannot open shared object file: No such file or directory Traceback (most recent call last): File "/home/macname/Desktop/ros/indigo/bi

linux 生成动态库时提示relocation R_X86_64_32 against `.rodata&#39; can not be used when making a shared object;

linux生成动态库时遇到了relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC错误. 由于我的系统是AMD64位的,所以需要在编译的时候添加 -fPIC选项 解决方法: 例如: g++ -c -fPIC head.cpp    生成head.o g++ -fpic -shared -o libfun.so head.o linux 生成

ogg启动报错libnnz11.so: cannot open shared object file

当ogg软件解压,并给予正确的权限后,在启动ogg时会遇到如下报错: [[email protected] ogg]# ./ggsci./ggsci: error while loading shared libraries: libnnz11.so: cannot open shared object file: No such file or directory 这里是因为缺少libnnz11.so库文件造成的,需要给出此库文件的位置,解决如下: [Oracle@oggtest ogg]$

libuuid.so: cannot open shared object file: No such file or directory

在玩ngx-lua时候有个 resty-uuid 需要引用 libuuid.so 动态库 打印log提示信息是这样的: libuuid.so: cannot open shared object file: No such file or directory 解决方案: [[email protected] ~]#yum install libuuid libuuid-devel [[email protected] ~]#ln -s /lib64/libuuid.so.1.3.0 /usr/l

ArchLinux 下 virtualbox 报错 libQtCore.so.4: cannot open shared object file

VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/usr/lib/virtualbox/VirtualBox.so",) failed: libQtCore.so.4: cannot open shared object file: No such file or directory

gcc报错 can not be used when making a shared object; recompile with -fPIC

使用google protobuf时,出现错误 /usr/bin/ld: /usr/local/lib/libprotobuf.a(message_lite.o): relocation R_X86_64_32S against `_ZTVN6google8protobuf11MessageLiteE' can not be used when making a shared object; recompile with -fPIC/usr/local/lib/libprotobuf.a: er