On 11-11-07 08:02 AM, Pushparaj Shetty wrote:
On Mon, Nov 7, 2011 at 5:42 PM, Pritam Baral<[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]>wrote:
On Mon, Nov 7, 2011 at 4:31 PM, Nilesh Govindarajan<[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
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 libcom_err.so.2 libcrypto.so.1.0.0
libcidn-2.13.so libcom_err.so.2.1 libcrypt.so.1
libcidn.so.1 libcrypt-2.13.so libc.so.6
Here is an explanation of what's happening.
http://askubuntu.com/questions/40416/why-is-lib-libc-so-6-missing
In short, since Ubuntu 11.04, libc.so has been moved to
/lib/i386-linux-gnu to allow simultaneous installations of libc
libraries of different architecture. I see three ways forward:
1. add /lib/i386-linux-gnu in /etc/ld.so.conf and run ldconfig
I don't know how /etc/ld.so.conf might have been affected while
implementing multiarch support.
2. run matlab as
$ LD_PRELOAD=/lib/i386-linux-gnu/libc.so.6 matlab
You can obviously write a script (or an alias) for this. This
prefetches libc.so.6 when runnnig matlab.
3. See line 605 of /usr/local/matlab2011a/bin/util/oscheck.sh . See what
it's doing. Tweak it.
Hope this helps,
Sharad
--
Mailing list guidelines and other related articles: http://lug-iitd.org/Footer