MATLAB Answers

/usr/local​/MATLAB/R2​011a/bin/u​til/oschec​ 605: /lib64/ not found

18 views (last 30 days)
rjarvinen on 23 Jun 2011
Edited: Cedric Wannaz on 11 Oct 2013
My MATLAB R2011a installation on Ubuntu 11.04 64-bit gives the following warning when starting up:
/usr/local/MATLAB/R2011a/bin/util/ 605: /lib64/ not found
The library in question is installed on the system:
$ locate

Accepted Answer

Gerhard Burger
Gerhard Burger on 9 Jul 2011
I had the same problem, you can make a symbolic link to the location matlab expects it to be with the following command:
ln -s /lib/x86_64-linux-gnu/ /lib64/
hope this helps!

More Answers (7)

Walter Roberson
Walter Roberson on 23 Jun 2011
I don't know about Ubuntu 11.04 systems, but the Ubuntu 10.04 system I am using has /lib64/
Unfortunately I do not know enough about packages to query which package it came as part of.
  1 Comment
Daniel Shub
Daniel Shub on 18 Oct 2011
For ubuntu will let you search package contents (you need to change the option).

Sign in to comment.

rjarvinen on 18 Oct 2011
Just to report that the same problem exist still for a fresh install of the latest MATLAB on the latest Ubuntu. The above workaround still works ok.
MATLAB version: R2011b ( 64-bit (glnxa64) August 13, 2011
Ubuntu version: 11.10 (oneiric) 64-bit

Daniel Shub
Daniel Shub on 18 Oct 2011
For Arch Linux the package glibc provides lib/ for both x86_64 and i686 architectures.
For Debian Squeeze the package libc6 provides /lib/ for all but ia64 architectures. The libc6-amd64 provides /lib64/ for the i386 architecture.
For Ubuntu Oneiric it is too crazy to describe (just look at the search).
I don't know how to search rpm based distros (and I don't think people care enough to learn the results).

kabel on 20 Oct 2011
The solution
"ln -s /lib/x86_64-linux-gnu/ /lib64/"
for Matlab 2010b 64-bit in Ubuntu 11.10 does not work. What else i could do?
The error message is the same:
"/usr/local/MATLAB/R2010b/bin/util/ 605: /lib64/ not found"
Hussain on 22 Dec 2011
I had the same issue. Apparently, was in the right place but it was broken so I had to remove it then re-implement the work around with sudo.
Open a terminal to /lib64 and try:
sudo rm
sudo ln -s /lib/x86_64-linux-gnu/ /lib64/
I blame it on Unity :-P

Sign in to comment.

Gerhard Burger
Gerhard Burger on 20 Oct 2011
if for some reason the solution I gave above does not work, try to see where the files are on your system by executing
then change the first argument in the solution, otherwise see the info Daniel posted.
edit: and of course sudo, thanks for reminding me Riku Jarvinen

Milos on 16 Dec 2011
The problem is that in Ubuntu 11.10 things got further complicated. This command that did the trick for me (Kubuntu 11.10 64-bit):
sudo ln -s /lib/x86_64-linux-gnu/ /lib64/
It's because /lib/x86_64-linux-gnu/ is a symbolic link to /lib/x86_64-linux-gnu/ Hope this helps.
  1 Comment
Daniel Shub
Daniel Shub on 17 Dec 2011
I don't see why you couldn't just link to /lib/x86_64-linux-gnu/ Do you know what package creates the link? What does the libc6 package, or its approriate extenstions for you system, do?

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!