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

12 views (last 30 days)
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

Answers (1)

Shlok
Shlok on 15 Jul 2025
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:

Categories

Find more on Graphics Performance in Help Center and File Exchange

Products


Release

R2024b

Community Treasure Hunt

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

Start Hunting!