python: error while loading shared libraries: libpython3.4m.so.1.0: cannot open shared object file:
来源:互联网 发布:标致pp2000软件下载 编辑:程序博客网 时间:2024/05/29 06:45
CentOS下,执行python命令报错
python: error while loading shared libraries: libpython3.4m.so.1.0: cannot open shared object file: No such file or directory
# pwd
/home/yinbin/download/Python-3.4.3
# ./configure --enable-shared
# make
# make install
# cp cp libpython3.4m.so.1.0 /usr/lib
python: error while loading shared libraries: libpython3.4m.so.1.0: cannot open shared object file: No such file or directory
原因是/usr/lib缺少该共享库libpython3.4m.so.1.0。
解决方法:
重新编译python,让其生成libpython3.4m.so.1.0,并将生成的文件拷贝到/usr/lib# pwd
/home/yinbin/download/Python-3.4.3
# ./configure --enable-shared
# make
# make install
# cp cp libpython3.4m.so.1.0 /usr/lib
0 0
- python: error while loading shared libraries: libpython3.4m.so.1.0: cannot open shared object file:
- python3: error while loading shared libraries: libpython3.5m.so.1.0: cannot open shared object file:
- error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file.....
- pbzip2: error while loading shared libraries: libbz2.so.1.0: cannot open shared object file
- 错误./hello: error while loading shared libraries: libQtGui.so.4: cannot open shared object file:
- 错误./hello: error while loading shared libraries: libQtGui.so.4: cannot open shared object file:
- error while loading shared libraries: libQtGui.so.4: cannot open shared object file:
- error while loading shared libraries cannot open shared object file
- error while loading shared libraries| cannot open shared object file
- Error While Loading Shared Libraries, Cannot Open Shared Object File
- Error While Loading Shared Libraries, Cannot Open Shared Object File
- error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file
- error while loading shared libraries: libXXX.so.x: cannot open shared object file: No such file
- error while loading shared libraries: libiw.so.29: cannot open shared object file: No such file
- error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file
- error while loading shared libraries: XXX.so: cannot open shared object file: No such file...
- jps: error while loading shared libraries: libjli.so: cannot open shared object file: No such file..
- error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file
- Android 让EditText输入框失去焦点
- CentOS6.6系统下以RPM方式安装mysql-5.7.9
- shell编程高级之函数
- ArrayBlockingQueue阻塞队列的使用示例
- 分布式数据重复提交
- python: error while loading shared libraries: libpython3.4m.so.1.0: cannot open shared object file:
- Linux -----oops错误
- ubuntu14.04密码正确,进入不了图形界面
- 【Unity开发】简单的对象池实现
- leetcode -- Plus One--与add binary类似--要了解
- (一)使用RED5搭建流媒体服务器
- mybatis实战教程之开发环境搭建、以接口的方式编程、实现数据的增删改查
- 推荐系统导论笔记(六)
- leetcode之Burst Balloons