For as long as I’ve had linux, my MATLAB spits out the following “not found” error on startup:


.../MATLAB/bin/util/oscheck.sh: 605: /lib/libc.so.6: not found
</pre>


However it is clear that I have the library:


locate libc.so.6
/lib/i386-linux-gnu/libc.so.6
</pre>


The answer is to create a symbolic link from this library to your machine’s standard lib folder, as follows:


ln -s /lib/i386-linux-gnu/libc.so.6 /lib/libc.so.6
</pre>


…and you will never see the not found error again!





Suggested Citation:
Sochat, Vanessa. "MATLAB libc.so.6 not found error Fix." @vsoch (blog), 25 Mar 2012, https://vsoch.github.io/2012/matlab-libc-so-6-not-found-error-fix/ (accessed 16 Apr 24).