matlab install and launch problem

23 次查看(过去 30 天)
I installed MATLAB R2020b from my college USTC distribution with key and lic on the servers in my lab.
I succeed install it in one server while the other two failed.
The failed message is
"glibc_shim: Didn't find correct code to patch"
it shows before I tried to install it and when I launch it(I used install-unix-legacy in the bin/glnxa64 path to install when the default one didn'r work), it shows no matter I disable opengl or display. Nothing comes out after this message. This message repeated twice on the 3rd machine metioned below and once on the 2nd machine.
I think it's perhaps due to the linux version problem.
the success one's linux version is
Linux version 3.10.0-1127.19.1.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC) ) #1 SMP
CentOS Linux release 7.8.2003 (Core)
the failed two are
Linux version 3.10.0-327.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) #1
CentOS Linux release 7.2.1511 (Core)
Linux version 2.6.32-754.11.1.el6.x86_64 (mockbuild@x86-01.bsys.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-23) (GCC) ) #1 SMP
CentOS release 6.10 (Final)
The system requirement for R2020b is above RedHat 6. Considering the version of GCC and I think the 3rd one is Red Hat 6 and the former two are Red hat 7. Google this message gives nothing useful. And thus I have to ask here to see if anyone has the same problem.

回答(2 个)

Raymond Norris
Raymond Norris 2020-11-30
The system requirements for R2020b can be found here
It lists the following for RHEL (which ought to be applied to CentOS)
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 7 (minimum 7.5)
The warning you're getting is because of an unsupported CentOS version.
  3 个评论
Rylan
Rylan 2021-1-19
Hi scott,
Do you finally solve this problem?
I met the same problem.

请先登录,再进行评论。


Pratheek Punchathody
Hi Lin
Feel free to contact MathWorks Contact Support for installation related queries.
  1 个评论
Eshetu Gebretsadik
Eshetu Gebretsadik 2022-8-12
I got the same error message while trying to launch a Matlab 2021b compiled deployable on the machine I installed Matlab 2021b compiler.
./lumi
./lumi: error while loading shared libraries: libmwlaunchermain.so: cannot open shared object file: No such file or director
ls /usr/local/MATLAB/R2021b/bin/glnxa64 | grep libmwlaunchermain.so
glibc_shim: Didn't find correct code to patch
glibc_shim: Didn't find correct code to patch

请先登录,再进行评论。

类别

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