matlab install and launch problem

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 日

2 投票

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 件のコメント

scott fletcher
scott fletcher 2021 年 1 月 15 日
I meet all the install requirements
this doesn't explain how to fix:
glibc_shim: Didn't find correct code to patch
Gtk-Message: 10:40:57.682: Failed to load module "pk-gtk-module"
Gtk-Message: 10:40:57.690: Failed to load module "canberra-gtk-module"
glibc_shim: Didn't find correct code to patch
Rylan
Rylan 2021 年 1 月 19 日
Hi scott,
Do you finally solve this problem?
I met the same problem.
Stefan Stagraczynski
Stefan Stagraczynski 2021 年 12 月 10 日
I second it (CentOs too).

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

Pratheek Punchathody
Pratheek Punchathody 2020 年 11 月 24 日

0 投票

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

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

カテゴリ

ヘルプ センター および File ExchangeIntroduction to Installation and Licensing についてさらに検索

質問済み:

2020 年 10 月 28 日

コメント済み:

2022 年 8 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by