在ubuntu下安装matlab:libXp.so.6: cannot open shared object file: No such file or directory
2016-12-06 09:16
971 查看
ubuntu安装matlab出现问题:
解决:
sudo apt-get install alien #alien默认没有安装
sudo alien xxx.rpm #将rpm转换位deb,完成后会生成一个同名的xxx.deb
sudo dpkg -i xxxx.deb #安装
解决:
libXp-1.0.0-8.1.el5.x86_64.rpm
问题:
解决:
问题:
解决:
MATLAB/R2010b/bin$ matlab -glnx86
问题:
解决:
apt-get update
安装java环境
apt-get install sun-java6-jre sun-java6-jdk sun-java6-plugin –fix-missing
问题:
下载软件:http://www.matlab.org.cn/Download/ShowSoft.asp?SoftID=469
参考资料:
http://forum.ubuntu.org.cn/viewtopic.php?t=352629
http://blog.sina.com.cn/s/blog_67852f5601014hat.html matlab以及java环境的安装
http://www.cnblogs.com/learnordie/p/4192539.html Ubantu/Linux下安装Matlab
http://blog.csdn.net/haorenka2010/article/details/13767825 ubuntu下matlab安装心得
@ubuntu:/usr/local/MATLAB/R2010b/bin$ sudo ./matlab [sudo] password for caffe: ./matlab: 1: /usr/local/MATLAB/R2010b/bin/util/oscheck.sh: /lib64/libc.so.6: not found /usr/local/MATLAB/R2010b/bin/glnxa64/MATLAB: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory
解决:
sudo ln /lib/libc.so.6 /lib64/libc.so.6
sudo apt-get install alien #alien默认没有安装
sudo alien xxx.rpm #将rpm转换位deb,完成后会生成一个同名的xxx.deb
sudo dpkg -i xxxx.deb #安装
@ubuntu:~$ sudo alien --scripts libXp-1.0.0-8.1.el5.i386.rpm warning: libXp-1.0.0-8.1.el5.i386.rpm: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY warning: libXp-1.0.0-8.1.el5.i386.rpm: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY warning: libXp-1.0.0-8.1.el5.i386.rpm: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY warning: libXp-1.0.0-8.1.el5.i386.rpm: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY warning: libXp-1.0.0-8.1.el5.i386.rpm: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY warning: libXp-1.0.0-8.1.el5.i386.rpm: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY warning: libXp-1.0.0-8.1.el5.i386.rpm: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY warning: libXp-1.0.0-8.1.el5.i386.rpm: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY warning: libXp-1.0.0-8.1.el5.i386.rpm: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY warning: libXp-1.0.0-8.1.el5.i386.rpm: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY warning: libXp-1.0.0-8.1.el5.i386.rpm: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY warning: libXp-1.0.0-8.1.el5.i386.rpm: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY warning: libXp-1.0.0-8.1.el5.i386.rpm: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY warning: libXp-1.0.0-8.1.el5.i386.rpm: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY warning: libXp-1.0.0-8.1.el5.i386.rpm: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY warning: libXp-1.0.0-8.1.el5.i386.rpm: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY warning: libXp-1.0.0-8.1.el5.i386.rpm: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY libXp-1.0.0-8.1.el5.i386.rpm is for architecture i386 ; the package cannot be built on this system
解决:
libXp-1.0.0-8.1.el5.x86_64.rpm
~$ sudo alien --scripts libXp-1.0.0-8.1.el5.x86_64.rpm warning: libXp-1.0.0-8.1.el5.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 1e5e0159: NOKEY warning: libXp-1.0.0-8.1.el5.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 1e5e0159: NOKEY warning: libXp-1.0.0-8.1.el5.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 1e5e0159: NOKEY warning: libXp-1.0.0-8.1.el5.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 1e5e0159: NOKEY warning: libXp-1.0.0-8.1.el5.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 1e5e0159: NOKEY warning: libXp-1.0.0-8.1.el5.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 1e5e0159: NOKEY warning: libXp-1.0.0-8.1.el5.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 1e5e0159: NOKEY warning: libXp-1.0.0-8.1.el5.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 1e5e0159: NOKEY warning: libXp-1.0.0-8.1.el5.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 1e5e0159: NOKEY warning: libXp-1.0.0-8.1.el5.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 1e5e0159: NOKEY warning: libXp-1.0.0-8.1.el5.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 1e5e0159: NOKEY warning: libXp-1.0.0-8.1.el5.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 1e5e0159: NOKEY warning: libXp-1.0.0-8.1.el5.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 1e5e0159: NOKEY warning: libXp-1.0.0-8.1.el5.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 1e5e0159: NOKEY warning: libXp-1.0.0-8.1.el5.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 1e5e0159: NOKEY warning: libXp-1.0.0-8.1.el5.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 1e5e0159: NOKEY warning: libXp-1.0.0-8.1.el5.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 1e5e0159: NOKEY libxp_1.0.0-9.1_amd64.deb generated
~$ sudo dpkg -i libxp_1.0.0-9.1_amd64.deb Selecting previously unselected package libxp. (Reading database ... 244957 files and directories currently installed.) Preparing to unpack libxp_1.0.0-9.1_amd64.deb ... Unpacking libxp (1.0.0-9.1) ... Setting up libxp (1.0.0-9.1) ... Processing triggers for libc-bin (2.21-0ubuntu4.3) ...
问题:
$ sudo ./matlab /usr/local/MATLAB/R2010b/bin/glnxa64/MATLAB: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory
解决:
$ sudo apt-get install libXp Reading package lists... Done Building dependency tree Reading state information... Done libxp is already the newest version. The following packages were automatically installed and are no longer required: gir1.2-gmenu-3.0 laptop-detect python-blinker python-cffi-backend python-characteristic python-cups python-debtagshw python-dirspec python-enum34 python-httplib2 python-idna python-ipaddress python-jwt python-pam python-ply python-pyasn1-modules python-pycparser python-serial python-twisted-bin python-zope.interface python3-blinker python3-cffi-backend python3-httplib2 python3-idna python3-jwt python3-ply python3-pycparser ubuntuone-client-data Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
sudo mv libXp.so.6 /usr/local/MATLAB/R2010b/bin/glnxa64/MATLAB
问题:
@ubuntu:/usr/local/MATLAB/R2010b/bin$ ./matlab matlab: No MATLAB executable for this machine architecture. /usr/local/MATLAB/R2010b/bin/glnxa64/MATLAB does not exist!
解决:
MATLAB/R2010b/bin$ matlab -glnx86
问题:
--------------------------------------------------------------------------- Warning: Cannot locate Java Runtime Environment (JRE) . . . 1. Either a correct JRE was not available for redistribution when this release was shipped, in which case you should refer to the Release Notes for additional information about how to get it. 2. Or you have tried to use the MATLAB_JAVA environment variable to specify an alternate JRE, but MATLAB cannot find it. Please run 'matlab -n' to determine what value you are using for MATLAB_JAVA and fix accordingly. --------------------------------------------------------------------------- matlab: No MATLAB bin directory for this machine architecture. ARCH = glnx86
解决:
sudo gedit /etc/apt/sources.list
## respective vendors as a service to Ubuntu users. deb http://archive.canonical.com/ubuntu wily partner deb-src http://archive.canonical.com/ubuntu wily partner ## respective vendors as a service to Ubuntu users. deb http://archive.canonical.com/ubuntu wily partner deb-src http://archive.canonical.com/ubuntu wily partner deb http://archive.canonical.com/ lucid partner deb http://us.archive.ubuntu.com/ubuntu/ hardy multiverse
apt-get update
安装java环境
apt-get install sun-java6-jre sun-java6-jdk sun-java6-plugin –fix-missing
问题:
# # Start MATLAB unless we were asked to simply set the environment # if [ "$SOURCE_MATLAB_ENV_FROM" = "" ]; then if [ ! -d $MATLAB/bin/$ARCH ]; then #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ echo '' echo ' matlab: No MATLAB bin directory for this machine architecture.' echo '' echo " ARCH = $ARCH" echo '' #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ if [ "$showenv_all" = "1" ]; then env fi exit 1 fi # if [ ! -f $MATLAB/bin/$ARCH/$VARIANTmatlab ]; then #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ echo '' echo " matlab: No MATLAB executable for this machine architecture." echo '' echo " $MATLAB/bin/$ARCH/$VARIANTmatlab does not exist!" echo '' #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
下载软件:http://www.matlab.org.cn/Download/ShowSoft.asp?SoftID=469
参考资料:
http://forum.ubuntu.org.cn/viewtopic.php?t=352629
http://blog.sina.com.cn/s/blog_67852f5601014hat.html matlab以及java环境的安装
http://www.cnblogs.com/learnordie/p/4192539.html Ubantu/Linux下安装Matlab
http://blog.csdn.net/haorenka2010/article/details/13767825 ubuntu下matlab安装心得
相关文章推荐
- oracle 安装过程中遇到的问题1: libXp.so.6: cannot open shared objectfile: No such file or directory
- 10g安装提示“libXp.so.6: cannot open shared object file: No such file or directory ”
- oracle安装报错:libXp.so.6: cannot open shared object file: No such file or directory
- [RK_2014_0920]ubuntu下,使用ldconfig解决:error while loading shared libraries: libpcap.so.1: cannot open shared object file: No such file or directory
- 【UBUNTU深度学习环境】ImportError: libcudnn.so.7: cannot open shared object file: No such file or directory
- TensorFlow安装之后导入报错:libcudnn.so.6:cannot open sharedobject file: No such file or directory
- 【Ubuntu 64bit】libz.so.1: cannot open shared object file: No such file or directory
- ubuntu cannot open shared object file: no such file or directory
- ubuntu16.04 Error: libcudart.so.7.5: cannot open shared object file: No such file or directory最新解决方案
- 安装EBS R12时出现libclntsh.so.10.1: cannot open shared object file: No such file or directory的几个解决办法
- 树莓派安装ntru-crypto-master的时候:cannot open shared object file: No such file or directory
- 【Ubuntu 64bit】libz.so.1: cannot open shared object file: No such file or directory 【Android NDK】
- Linux安装graphite:cannot open shared object file: No such file or directory
- CentOS 安装 oralce Java的图形出错: libXtst.so.6: cannot open shared object file: No such file or directory
- ubuntu opencv Error: cannot open shared object file: no such file or directory
- ubuntu16.04 import caffe 出现libcblas.so.3:cannot open shared object file:NO such file or directory
- ubuntu动态链接库连接出错 cannot open shared object file: No such file or directory
- ubuntu解决libstdc++.so.6: cannot open shared object file: No such file or directory:问题
- memcached安装报错 error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory解决
- 安装tensorflow,出现libcudart.so.7.5: cannot open shared object file: No such file or directory