MATLAB Starting Error in Ubuntu 12.04: libc.so.6: not found
I got the following error when I try to launch MATLAB in Ubuntu 12.04 64bit:
1
|
/usr/local/MATLAB/R2011a/bin/util/oscheck.sh: 605: /lib/libc.so.6: not found
|
To resolve this problem, open a Terminal window and use the commands below:
1
|
sudo ln -s /lib/x86_64-linux-gnu/libc-2.15.so /lib64/libc.so.6
|
If you’re using the Student Version on 64-bit, you should use:
1
|
sudo ln -s /lib/x86_64-linux-gnu/libc-2.15.so /lib/libc.so.6
|
This command tries to create a link to the newest libc(2.15) dynamic library located under /lib/x86_64-linux-gnu/ and put it to /lib64/ or /lib/ named as libc.so.6, which is required by Matlab. sudo means you are running this command as a root account, otherwise you’ll not be allowed to modify the system directory /lib/.
Afterwards you can try to run Matlab again.