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

조회 수: 4 (최근 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 CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by