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

2 visualizaciones (últimos 30 días)
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 comentarios
Walter Roberson
Walter Roberson el 15 de Jul. de 2012
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.

Iniciar sesión para comentar.

Respuesta aceptada

Timothy Cale
Timothy Cale el 15 de Jul. de 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.

Más respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by