在使用 intel Inspector 的 gui 时,报错显示:
@ubuntu:~/intel/oneapi/inspector/latest/bin64$ inspxe-gui
Gtk-Message: 00:30:04.585: Failed to load module "canberra-gtk-module"
缺少依赖库,安装命令如下:
@ubuntu:~/intel/oneapi/inspector/latest/bin64$ sudo apt-get install libcanberra-gtk-module
安装记录:
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) ...