failed to load module "canberra-gtk-module"

In Ubuntu linux, I get this message. But I have the most recent install of libcanberra. This has been a problem for the last five years, and many of the answers and references to this are years old. Would be very useful to have any broken dependencies, and the fix for such, listed on the install. Or perhaps there's a simple thing I'm not doing. Help!

3 Comments

Ok, trying stuff and this seemed to work. Would appreciate the Mathworks giving this its blessing:
sudo apt-get install libcanberra-gtk-module libgconf-2-4
sudo ln -s /usr/lib/x86_64-linux-gnu/gtk-2.0/modules/libcanberra-gtk-module.so /usr/lib/libcanberra-gtk-module.so
Thanks for your solution. It works for me on ubuntu 22.04.4 LTS.
Ubuntu 24.10
Doesn't work. I keep getting
Package libcanberra-gtk-module is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Sign in to comment.

Answers (1)

The message Failed to load module "canberra-gtk-module" is a common informational message that appears on some Linux distributions. These messages are informational and have no effect on the functionality of MATLAB.
These messages can be removed by following the steps outlined in the documentation page here: https://www.mathworks.com/help/releases/R2023a/matlab/matlab_env/remove-canberra-gtk-module-and-pk-gtk-module-messages.html
Additionally, this has also been addressed in a bug report published by MathWorks found here: https://www.mathworks.com/support/bugreports/1995075

Categories

Products

Release

R2023a

Asked:

on 19 Jun 2023

Commented:

on 16 Oct 2024

Community Treasure Hunt

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

Start Hunting!