Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I tried installing MATLAB R2013a with this command:

sudo ./install -javadir /usr/lib/jvm/java-7-openjdk-amd64/jre

And I got this massege:

Preparing installation files ...
Installing ...
/tmp/mathworks_2573/sys/java/jre/glnxa64/jre/bin/java -Xmx512m  -splash:"/home/yair/Matinstall/java/splash.png" -Djava.ext.dirs=/tmp/mathworks_2573/sys/java/jre/glnxa64/jre/lib/ext:/tmp/mathworks_2573/java/jar:/tmp/mathworks_2573/java/jar/ja_JP/:/tmp/mathworks_2573/java/jar/zh_CN/:/tmp/mathworks_2573/java/jarext:/tmp/mathworks_2573/java/jarext/axis2/:/tmp/mathworks_2573/java/jarext/guice/:/tmp/mathworks_2573/java/jarext/webservices/ com/mathworks/professionalinstaller/Launcher -root "/home/yair/Matinstall" -tmpdir "/tmp/mathworks_2573" 
Error: dl failure on line 864
Error: failed /tmp/mathworks_2573/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so, because /tmp/mathworks_2573/bin/glnxa64/libstdc++.so.6: invalid ELF header

Does anyone know what's the problem?

share|improve this question
did you install "libstdc++6.x.x-dev" and "matlab-support" packages? –  mohammadh montazeri Aug 1 '13 at 20:49
I installed libstdc++6-4.4-dev but it didnt help –  Yair fuchs Aug 2 '13 at 16:15
To install matlab-support package it asks you to have an installed matlab on your computer. –  Yair fuchs Aug 2 '13 at 16:16
I'm not sure if this is relevant but look here: forum.teamspeak.com/showthread.php/… –  Elder Geek Jun 18 '14 at 18:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.