Matlab in Manjaro Linux - Gtk-Message: 10:43:51.884: Failed to load module "canberra-gtk-module"

16 次查看(过去 30 天)
getting the following error while running Matlab in Manjaro Linux:
MATLAB is selecting SOFTWARE rendering.
libva error: dlopen of /usr/lib/dri/iHD_drv_video.so failed: /run/media/username/Data/matlab/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6: version `CXXABI_1.3.15' not found (required by /usr/lib/dri/iHD_drv_video.so)
MESA-LOADER: failed to open dri: /run/media/username/Data/matlab/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /usr/lib/libSPIRV-Tools.so) (search paths /usr/lib/gbm, suffix _gbm)
Gtk-Message: 10:43:51.884: Failed to load module "canberra-gtk-module"
please help

回答(1 个)

Shlok
Shlok 2025-7-15
Hi Joshitha,
This issue sometimes occurs due to a missing GTK module on the system. The official MATLAB documentation provides a solution for Red Hat and Debian-based systems:
However, on Manjaro or other Arch-based systems, you can install the required module using:
sudo pacman -S libcanberra
If the warning still appears after installation, you might also need to set the GTK_PATH environment variable to point to the appropriate GTK module lib path.
You can also find more context in the following MATLAB Answers thread:

类别

Help CenterFile Exchange 中查找有关 Graphics Performance 的更多信息

产品


版本

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by