On Mon, Nov 7, 2011 at 7:24 PM, Sharad Birmiwal <[email protected]>wrote:

> 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<contact@nileshgr.**
>>>> com <[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<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.
>
/etc/ld.soconf.d has following contens. Where to add?
$ ls /etc/ld.so.conf.d/
i386-linux-gnu_GL.conf  libc.conf
i686-linux-gnu.conf     x86_64-linux-gnu_GL.conf



> 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.
>
This gives the same warning libc.so.6 not found

> 3. See line 605 of /usr/local/matlab2011a/bin/**util/oscheck.sh . See
> what it's doing. Tweak it.
>
 605 is the last line of script only has fi statement

>
> Hope this helps,
> Sharad
>
>
> --
> Mailing list guidelines and other related articles:
> http://lug-iitd.org/Footer
>



-- 
Pushparaj Shetty D.
Research Scholar
Dept. of Mathematics
IIT Delhi
Cell# 9212370093

-- 
Mailing list guidelines and other related articles: http://lug-iitd.org/Footer

Reply via email to