Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to fix '605: /lib/' 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/ 605: /lib/ not found

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

share|improve this question
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
up vote 2 down vote accepted

I found a solution on MATLAB Answers:

$ locate
$ sudo ln -s /lib/i386-linux-gnu/ /lib/
$ matlab

For MATLAB 2012, on Ubuntu 12.04, libc-2.13 is replaced by libc-2.15, so you link as follows:

$ sudo ln -s /lib/x86_64-linux-gnu/ /lib64/
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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