MATLAB R2012a 安装到 Ubuntu 12.10

2013/01/05 14:28
阅读数 1.4K

Create A MATLAB Launcher

1. Get an icon:

sudo wget http://upload.wikimedia.org/wikipedia/commons/2/21/Matlab_Logo.png -O /usr/share/icons/matlab.png

2. Get the launcher file:

sudo wget 'https://help.ubuntu.com/community/MATLAB?action=AttachFile&do=get&target=matlab-r2012a.desktop' -O /usr/share/applications/matlab.desktop

3.修改快捷方式的属性为/usr/local/MATLAB/R2012a/bin/matlab -desktop

4. libc.so.6 not found

/usr/local/MATLAB/R2012a/bin/util/oscheck.sh: /lib64/libc.so.6: not found or /usr/local/MATLAB/R2012a/bin/util/oscheck.sh: /lib/libc.so.6: not found

when you launch MATLAB. R2012a is aimed at Ubuntu 10.04 for which libc.so.6 was located in /lib for 32 bits and in /lib64 for 64 bits. It are now both located in a different subdirectory of /lib. To help MATLAB find it, just make a symbolic link

For 64 bits users (that got the first error):

sudo ln -s /lib/x86_64-linux-gnu/libc.so.6 /lib64/libc.so.6

For 32 bits users (that got the second error):

sudo ln -s /lib/i386-linux-gnu/libc.so.6 /lib/libc.so.6

展开阅读全文
打赏
0
2 收藏
分享
加载中
更多评论
打赏
0 评论
2 收藏
0
分享
返回顶部
顶部