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 件のコメント

Jim Bosley
Jim Bosley 2023 年 6 月 19 日
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.
Paul
Paul 2024 年 10 月 16 日
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 ExchangeIntroduction 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