On Mon 07 Nov 2011 06:32:40 PM IST, Pushparaj Shetty wrote: > > > On Mon, Nov 7, 2011 at 5:42 PM, Pritam Baral <[email protected] > <mailto:[email protected]>> wrote: > > Seems you don't have libc (Wierd?!). Try: > > $ sudo apt-get install --reinstall libc6 > > > *Regards, > Chhatoi Pritam Baral* > > > > > On Mon, Nov 7, 2011 at 16:56, Pushparaj Shetty > <[email protected] <mailto:[email protected]>> wrote: > > > > On Mon, Nov 7, 2011 at 4:31 PM, Nilesh Govindarajan > <[email protected] <mailto:[email protected]>> wrote: > > On Mon 07 Nov 2011 04:06:20 PM IST, Pushparaj Shetty wrote: > > Hi, While opening matlab, I get the following message. > Matlab opens > > and works perfectly. how can i fix this error? > > > > /usr/local/matlab2011a/bin/util/oscheck.sh: 605: > /lib/libc.so.6: not found > > > > > > regards > > Pushparaj Shetty D. > > Research Scholar > > Dept. of Mathematics > > IIT Delhi > > Cell# 9212370093 > > > > Sounds pretty strange, because usually /lib/libc.so.6 is > symlinked to > latest libc version in /lib, for example /lib/libc-2.13.so > <http://libc-2.13.so> > You might try creating a symlink to the latest libc found > in /lib (by > ls libc*) and then running this command as root: > > ln -s /lib/libc-<version as seen in the list> /lib/libc.so.6 > > The ls output is given below. Which one should i use? > praj@praj-Studio-1555:~$ ls /lib/libc* > /lib/libcap.so.2 /lib/libcap.so.2.21 > praj@praj-Studio-1555:~$ > > Hi its found in /lib/i386-linux-gnu > praj@praj-Studio-1555:/lib/i386-linux-gnu$ ls libc* > libc-2.13.so <http://libc-2.13.so> libcom_err.so.2 > libcrypto.so.1.0.0 > libcidn-2.13.so <http://libcidn-2.13.so> libcom_err.so.2.1 libcrypt.so.1 > libcidn.so.1 libcrypt-2.13.so <http://libcrypt-2.13.so> libc.so.6 > > i did ln -s /lib/i386-linux-gnu/libc.so.6 /lib/libc.so.6 > Now i opened Matlab. It gives /Too many levels of symbolic links/ > what is the problem? >
I guess it's a nested symlink. i386-linux-gnu itself might be a symlink to something else. Remove that for now, and try this: ls -ld /lib/i386-linux-gnu -- Nilesh Govindarajan http://nileshgr.com -- Mailing list guidelines and other related articles: http://lug-iitd.org/Footer
