Why do I get a libc.so.6: not found error when launching MATLAB in Ubuntu?

103 views (last 30 days)
I get the following error when I run MATLAB in Ubuntu:
/usr/local/MATLAB/R2011a/bin/util/oscheck.sh: 605: /lib/libc.so.6: not found

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 4 Oct 2012
To resolve this problem, open a Terminal window and use the commands below depending on your OS architecture:
For 64-bit Ubuntu:
sudo ln -s /lib/x86_64-linux-gnu/libc.so.6 /lib64/libc.so.6
For 32-bit Ubuntu:
sudo ln -s /lib/i386-linux-gnu/libc.so.6 /lib/libc.so.6
For using the Student Version on 64-bit:
sudo ln -s /lib/x86_64-linux-gnu/libc.so.6 /lib
Afterwards try starting MATLAB again.
Pierre on 13 Jun 2017
I have the same problem, but /lib64/libc.so.6 exists. I don't get it:
/usr/local/bin/matlab: 1: /usr/local/bin/util/oscheck.sh: /lib64/libc.so.6: not found
locate libc.so.6
any idea ?

Sign in to comment.

More Answers (0)




Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!