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.

11 thoughts on “MATLAB Starting Error in Ubuntu 12.04: libc.so.6: not found

  1. Thanks for the info on where the libc* neded by matlab is hidden on ubuntu! I just made the link to /lib/i386-linux-gnu/libc-2.15.so (old desktop) in ubuntu 12.10, and Matlab started without complaint for the first time in ages!

  2. Pingback: 【error】install matlab 2012a for lunux-64 « Firefly's space

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>