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
  2 件のコメント
Walter Roberson
Walter Roberson 2012 年 7 月 15 日
Daniel, we only mark Questions as being duplicate if they are asked by the same person; otherwise we cross-reference them, or provide the link to the previous Question as an Answer.

サインインしてコメントする。

採用された回答

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 Center および File ExchangeStartup and Shutdown についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by