前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >【Bug修复】有效解决:Failed to load module “canberra-gtk-module“

【Bug修复】有效解决:Failed to load module “canberra-gtk-module“

作者头像
Lokinli
发布2023-10-16 20:07:40
1K0
发布2023-10-16 20:07:40
举报
文章被收录于专栏:以终为始

问题

在使用 intel Inspector 的 gui 时,报错显示:

代码语言:javascript
复制
@ubuntu:~/intel/oneapi/inspector/latest/bin64$ inspxe-gui 
Gtk-Message: 00:30:04.585: Failed to load module "canberra-gtk-module"

解决

缺少依赖库,安装命令如下:

代码语言:javascript
复制
@ubuntu:~/intel/oneapi/inspector/latest/bin64$ sudo apt-get install libcanberra-gtk-module

安装记录:

代码语言:javascript
复制
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libcanberra-gtk0
The following NEW packages will be installed:
  libcanberra-gtk-module libcanberra-gtk0
0 upgraded, 2 newly installed, 0 to remove and 289 not upgraded.
Need to get 17.8 kB of archives.
After this operation, 92.2 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 libcanberra-gtk0 amd64 0.30-7ubuntu1 [7,916 B]
Get:2 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 libcanberra-gtk-module amd64 0.30-7ubuntu1 [9,904 B]
Fetched 17.8 kB in 2s (7,355 B/s)                 
Selecting previously unselected package libcanberra-gtk0:amd64.
(Reading database ... 180960 files and directories currently installed.)
Preparing to unpack .../libcanberra-gtk0_0.30-7ubuntu1_amd64.deb ...
Unpacking libcanberra-gtk0:amd64 (0.30-7ubuntu1) ...
Selecting previously unselected package libcanberra-gtk-module:amd64.
Preparing to unpack .../libcanberra-gtk-module_0.30-7ubuntu1_amd64.deb ...
Unpacking libcanberra-gtk-module:amd64 (0.30-7ubuntu1) ...
Setting up libcanberra-gtk0:amd64 (0.30-7ubuntu1) ...
Setting up libcanberra-gtk-module:amd64 (0.30-7ubuntu1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2023-07-17,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 问题
  • 解决
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档