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

117 views (last 30 days)
Haggitt Li
Haggitt Li on 5 Sep 2022
Commented: Gathik on 11 Aug 2024
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"

Answers (1)

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.

Categories

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

Products

Community Treasure Hunt

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

Start Hunting!