How to fix '605: /lib/libc.so.6' error for Matlab in Linux?

When I start Matlab in Linux I get a "605 error" like the following

$ matlab
/usr/local/matlabR2010a/bin/util/oscheck.sh: 605: /lib/libc.so.6: not found

The Matlab version is R2010a. The OS is Ubuntu 11.10 32-bit.

link|improve this question

68% accept rate
Have you tried installing the libc library on the Linux machine? That will probably solve the issue. – sbtkd85 Oct 26 '11 at 14:51
If I search libc using Ubuntu 11.10's Synaptic Package Manager, it finds hundreds of potential matches. I'm wondering how to identify a few of them to try installing first. – Computist Oct 27 '11 at 2:07
feedback

1 Answer

up vote 1 down vote accepted

I found a solution.

~$ locate libc.so
/lib/i386-linux-gnu/libc.so.6
/usr/lib/i386-linux-gnu/libc.so
~$ sudo ln -s /lib/i386-linux-gnu/libc.so.6 /lib/libc.so.6
~$ matlab

C.f. http://www.mathworks.nl/matlabcentral/answers/10134-usr-local-matlab-r2011a-bin-util-oscheck-sh-605-lib64-libc-so-6-not-found

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.