libstdc++.so.6: version `GLIBCXX_3.4.29' not found

81 visualizzazioni (ultimi 30 giorni)
Haggitt Li
Haggitt Li il 5 Set 2022
Risposto: Robert il 5 Mar 2025
When I run the MATLAB on my arch linux computer, I met the following issue. I am using R2021b, it works fine on this arch linux computer before. This problems happens when I change the font of matlab and reboot.
MATLAB is selecting SOFTWARE OPENGL rendering.
MESA-LOADER: failed to open radeonsi: /home/deck/matlab/bin/glnxa64/../../sys/os/g
lnxa64/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dr
i/radeonsi_dri.so) (search paths /usr/lib/dri, suffix _dri)
failed to load driver: radeonsi
MESA-LOADER: failed to open kms_swrast: /home/deck/matlab/bin/glnxa64/../../sys/os
/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/
dri/kms_swrast_dri.so) (search paths /usr/lib/dri, suffix _dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast: /home/deck/matlab/bin/glnxa64/../../sys/os/gln
xa64/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/
swrast_dri.so) (search paths /usr/lib/dri, suffix _dri)
failed to load swrast driver
Gtk-Message: 00:00:13.007: Failed to load module "canberra-gtk-module"

Risposte (2)

Chaitanya Krishna Kantambhatla
This is a known bug. It appears to be that 'libcanberra-gtk-module' does not exist or is corrupted. Installing or reinstalling the same would solve the issue.
Please refer the following document that provides a workaround for this issue.

Robert
Robert il 5 Mar 2025
Your system has most probably already "GTK_PATH=/usr/lib64/gtk-3.0/" as default.
Set for your Matlab startup to environment GTK_PATH to the path for "gtk-2.0"
#bash
export GTK_PATH=/usr/lib64/gtk-2.0/
#tcsh
setenv GTK_PATH /usr/lib64/gtk-2.0/

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by