Difference between revisions of "How to get Matlab to work on Ubuntu 11.04"

From ITSwiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
Line 1: Line 1:
<div class="art-PostContent" style="font-style: normal; font-weight: normal; text-align: justify; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px"><div class="art-article">
 
 
 
Under the new Ubuntu 11.04 (Natty Narwhal), when you try and run MATLAB you'll get the following error
 
Under the new Ubuntu 11.04 (Natty Narwhal), when you try and run MATLAB you'll get the following error
  
<blockquote style="font-weight: normal; text-align: left; margin-top: 10px !important; margin-right: 10px !important; margin-bottom: 10px !important; margin-left: 50px !important; padding-top: 5px !important; padding-right: 5px !important; padding-bottom: 5px !important; padding-left: 5px !important; background-color: rgb(224, 224, 224)">'' ''/matlab/bin/util/oscheck.sh: 605: /lib64/libc.so.6: not found'' ''</blockquote>
+
/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
 
To resolve this problem, go to a terminal window (Alt + F2 from anywhere) and type
Line 9: Line 7:
 
For 64 bit:
 
For 64 bit:
  
<blockquote style="font-weight: normal; text-align: left; margin-top: 10px !important; margin-right: 10px !important; margin-bottom: 10px !important; margin-left: 50px !important; padding-top: 5px !important; padding-right: 5px !important; padding-bottom: 5px !important; padding-left: 5px !important; background-color: rgb(224, 224, 224)">'' ''sudo ln -s /lib64/x86_64-linux-gnu/[http://libc-2.13.so/ libc-2.13.so] /lib64/libc.so.6'' ''</blockquote>
+
sudo ln -s /lib64/x86_64-linux-gnu/[http://libc-2.13.so/ libc-2.13.so] /lib64/libc.so.6
 
+
 
+
  
 
For 32 bit:
 
For 32 bit:
  
<blockquote style="font-weight: normal; text-align: left; margin-top: 10px !important; margin-right: 10px !important; margin-bottom: 10px !important; margin-left: 50px !important; padding-top: 5px !important; padding-right: 5px !important; padding-bottom: 5px !important; padding-left: 5px !important; background-color: rgb(224, 224, 224)">'' ''sudo ln -s /lib/i386-linux-gnu/[http://libc-2.13.so/ libc-2.13.so] /lib/libc.so.6'' ''</blockquote>
+
sudo ln -s /lib/i386-linux-gnu/[http://libc-2.13.so/ libc-2.13.so] /lib/libc.so.6
  
 
This should restore the missing library that was uninstalled during the Ubuntu update process.
 
This should restore the missing library that was uninstalled during the Ubuntu update process.
  
[[Category:2011]]
 
 
[[Category:How do I...]]
 
[[Category:How do I...]]

Revision as of 00:18, 12 June 2012

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.