What library should be used by Matlab 2012a on Ubuntu 12.04, instead of libc.so.6?

1 Ansicht (letzte 30 Tage)
I have been using Matlab R2012a on Ubuntu 10.04 w/o library issues.
I upgraded to Ubuntu 12.04. Upon initiation of Matlab, the following message is printed:
1: /usr/local/MATLAB/R2012a/bin/util/oscheck.sh: /lib/libc.so.6: not found
(A similar message results on a 64-bit machine, except it is /lib64/libc.so.6.)
I went back to my 10.04 installation, and found that libc.so.6 was a link to libc-2.11.1.so for that version (at least on the 64 bit machine).
The latter library doesn't exist on 12.04, so I cannot try to solve the problem by creating a link as in 10.04.
I am not sure how critical the library is, as I just made the upgrade to 12.04, and Matlab starts up.
Does anyone have a suggestion for a fix?
Thanks, Tim

Akzeptierte Antwort

Timothy Cale
Timothy Cale am 15 Jul. 2012
My question about choice of library was "mostly answered" at:
But it deals with the issue on Ubuntu 11.04.
For Ubuntu 11.04 (64 bit) the solution is (as provided at the url above): sudo ln -s /lib/x86_64-linux-gnu/libc-2.13.so /lib64/libc.so.6
For Ubuntu 12.04 (64 bit), libc-2.15.so replaces libc-2.13.so.
I am not sure how general this is, but I suggest finding out what libc.so.6 is linked to in /lib/x86_64-linux-gnu
That is for 12.04, in /lib/x86_64-linux-gnu: libc.so.6 -> libc-2.15.so
It works, though perhaps not for future versions of Ubuntu.

Weitere Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by