Category Archives: MATLAB

[MATLAB] libc.so.6: not found error on Ubuntu 11.10

MATLAB/R2011a/bin/util/oscheck.sh: 605: /lib/libc.so.6: not found
ref. Why do I get a libc.so.6: not found error when launching MATLAB in Ubuntu?

# ubuntu 11.10 32bit:
sudo 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/R2011a/binutil/oscheck.sh: 605: /lib/libc.so.6: Permission denied
ref. Installing Matlab on Ubuntu

change oscheck.sh 177 line (ubuntu 11.10):

sudo vim /usr/local/MATLAB/R2011a/bin/util/oscheck.sh

177                     #ver=`/lib/libc.so.6 | head -n 1 | sed -e "s/^[^0-9]*//" -e "s/[ ,].*$//"`
178                     ver=`strings /lib/libc.so.6 | grep "GNU C Library" | sed -e "s/^[^0-9]*//" -e "s/[ ,].*$//"`