Email me Call me on Skype RSS feed Twitter Facebook Last.fm Spotify Flickr Steam  Github

MATLAB with Ubuntu 11.04

Tue, 17/05/2011 - 13:03 -- Morgan

Under the new Ubuntu 11.04 (Natty Narwhal), when you try and run MATLAB you'll get the following error

/matlab/bin/util/oscheck.sh: 605: /lib64/libc.so.6: not found

To resolve this problem, go to a terminal window (Alt + F2 from anywhere) and type

For 64 bit:

sudo ln -s /lib64/x86_64-linux-gnu/libc-2.13.so /lib64/libc.so.6

 

For 32 bit:

sudo ln -s /lib/i386-linux-gnu/libc-2.13.so /lib/libc.so.6

This should restore the missing library that was uninstalled during the Ubuntu update process.

 
 
 

This method only works for Ubuntu 11.04. For the newer release of Ubuntu 11.10 you need a slightly different fix, detailed here.

- 17th October 2011

 

Comments

Submitted by Mohammad (not verified) on

There was no /lib64/x86_64-linux-gnu/libc-2.13.so, so I chnaged it to /lib/x86_64-linux-gnu/libc-2.13.so and it worked! although I am not sure if it will cause problems in future.

Morgan's picture
Submitted by Morgan on

Nope, you're absolutely correct.

I think I had to restore this page from an old backup recently and that was an edit I'd previously made.

Submitted by vijai kumar (not verified) on

Hello everyone. Even after doing all of this if you get similar error in Ubuntu precise pangolin 64 bit here's a thought that works 100% fine.. Just cut the oscheck.sh from matlab/bin/util and paste it in /matlab/binyou won't get any error afterwards..... since you have already installed matlab in unix you are 100% aware that it is an unix operating system and after following the steps as above it is saying libc.so.6 already exists or you can check it in the root folder yourself...so y bother.... just move the file and enjoy NOTE: THIS IS ONLY FOR PEOPLE WHO GET ERROR EVEN AFTER FOLLOWING THE ABOVE STEPS

Add new comment

Latest posts

...is the ability that every day provides the opportunity,...
1 month 3 weeks ago
MISHAP is yet to be made available for general release...
2 months 5 days ago
Faced with fitting well over 30 experiments at room and low...
4 months 1 week ago
  It has been some time since my last blog post, but this...
5 months 3 weeks ago
E2AF or "EPR 2 ASCII folder" is a folder version of E2A,...
7 months 3 weeks ago

Latest comments

Latest tweets