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

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
Farzad Kamrani
Farzad Kamrani 2024년 8월 21일
편집: Farzad Kamrani 2024년 8월 21일
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

댓글을 달려면 로그인하십시오.

답변 (1개)

Kautuk Raj
Kautuk Raj 2024년 9월 11일

0 개 추천

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

카테고리

도움말 센터File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품

릴리스

R2023a

질문:

2023년 6월 19일

댓글:

2024년 10월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by