matlab install and launch problem

23 views (last 30 days)
lin shengfu
lin shengfu on 28 Oct 2020
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.

Answers (2)

Raymond Norris
Raymond Norris on 30 Nov 2020
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 Comments
Rylan
Rylan on 19 Jan 2021
Hi scott,
Do you finally solve this problem?
I met the same problem.

Sign in to comment.


Pratheek Punchathody
Pratheek Punchathody on 24 Nov 2020
Hi Lin
Feel free to contact MathWorks Contact Support for installation related queries.
  1 Comment
Eshetu Gebretsadik
Eshetu Gebretsadik on 12 Aug 2022
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

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!