安装 MATLAB 时如何修复“dl 失败”/“无效的 ELF 标头”错误?

安装 MATLAB 时如何修复“dl 失败”/“无效的 ELF 标头”错误?

我尝试使用以下命令安装 MATLAB R2013a:

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

我得到了这个信息:

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
Finished

有人知道这是什么问题吗?

相关内容