필터 지우기
필터 지우기

Installation Problems with Matlab 2012a on Ubuntu

조회 수: 5 (최근 30일)
John
John 2012년 9월 27일
댓글: mosi 2014년 9월 27일
I'm having trouble installing Matlab on my Ubuntu computer. When I try sudo ./install I get the following error:
Preparing installation files ...
Installing ...
/tmp/mathworks_9977/sys/java/jre/glnxa64/jre/bin/java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory
Finished
Moving the installation directories around to match that file structure doesn't work because when I run the installer again then number after the mathworks directory changes. For example if I try running sudo ./install again I will get the error:
Preparing installation files ...
Installing ...
/tmp/mathworks_10046/sys/java/jre/glnxa64/jre/bin/java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory
Finished
Notice that it looks in mathworks_10046 now instead of mathworks_9977. How can I fix this. I am running Ubuntu 12.04 LTS 64 bit.
  댓글 수: 2
Daniel Shub
Daniel Shub 2012년 9월 27일
Is this the student version or the full version of MATLAB?
mosi
mosi 2014년 9월 27일
You have some problem with java. Try this one:
copy your Matlab Setup-files in a local drive like '/home/user/Desktop/Matlab':
install oracle-java: sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer sudo apt-get install oracle-java8-set-default
then: sudo ./install -javadir /usr/lib/jvm/java-8-oracle/

댓글을 달려면 로그인하십시오.

답변 (2개)

Thomas
Thomas 2012년 9월 27일
Copy the installation to HDD if you are installing from disk: select custom installation
You will need superuser privileges. The assumption is that MATLAB install files are located at /media/MATHWORKS_R2011a in your filesystem.
Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, Run the MATLAB installer with the following Terminal command:
sudo /media/MATHWORKS_R2011A/install
When prompted to 'Choose installation type' you should select custom. This will allow you to create symbolic links to MATLAB in /usr/local/bin.
For the Java installation errorsome had to make an excutable bit for java file under : MATLAB/sys/java/jre/glnxa64/jre/bin
chmod +x file
  댓글 수: 1
John
John 2012년 9월 27일
I don't get prompted to choose installation type. I don't even get to the splash screen. From the answer below it looks like I can't run the student version on 64 bit linux.

댓글을 달려면 로그인하십시오.


Daniel Shub
Daniel Shub 2012년 9월 27일
Assuming you are trying to install the student version, then this is a duplicate. The student version of MATLAB only supports 32-bit Linux, installation on 64-bit Linux is not going to be trivial. I would contact TMW for help.
  댓글 수: 4
John
John 2012년 9월 28일
Now I get the error: /sys/java/jre/glnx86/jre/bin/java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory
I tried searching on my computer and I found the file in $MATLAB/.rr_moved/jili/libjili.so How do make the installer find this file?
Daniel Shub
Daniel Shub 2012년 9월 28일
I do not have access to the student version. So I cannot help you anymore than I already have. I would contact TMW for help. Also please consider accepting this answer or at least voting for it.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by