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

1 次查看(过去 30 天)
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

采纳的回答

Timothy Cale
Timothy Cale 2012-7-15
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by