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
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
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
2021년 1월 19일
Hi scott,
Do you finally solve this problem?
I met the same problem.
Stefan Stagraczynski
2021년 12월 10일
I second it (CentOs too).
Pratheek Punchathody
2020년 11월 24일
0 개 추천
Hi Lin
댓글 수: 1
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 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!