glibc_shim:didn't find correct code to patch

11 views (last 30 days)
M Yekta
M Yekta on 2 Oct 2021
Answered: Angelo Yeo on 26 Jul 2023
MATLAB is selecting SOFTWARE OPENGL rendering.
glibc_shim: Didn't find correct code to patch
< M A T L A B (R) >
Copyright 1984-2021 The MathWorks, Inc.
R2021a (9.10.0.1602886) 64-bit (glnxa64)
February 17, 2021
To get started, type doc.
For product information, visit www.mathworks.com.
>> !gcc --version
glibc_shim: Didn't find correct code to patch
glibc_shim: Didn't find correct code to patch
gcc (GCC) 9.4.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>> !which gcc
glibc_shim: Didn't find correct code to patch
glibc_shim: Didn't find correct code to patch
/share/apps/GCC/9.4/bin/gcc
how to solve this error

Answers (1)

Angelo Yeo
Angelo Yeo on 26 Jul 2023
Which Linux OS do you use? The error "glibc_shim: didn't find correct code to patch" is coming from glibc-2.17_shim, and MATLAB requires a specific version of glibc. Please take a look at the system requirements for MATLAB and see if the Linux OS is compatible with the system requirement, especially for minimum OS version required.

Categories

Find more on Graphics Performance 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!