【Solución de errores】Solución efectiva: No se pudo cargar el módulo “canberra-gtk-module”

pregunta

Al utilizar la interfaz gráfica de usuario de Intel Inspector, el mensaje de error muestra:

@ubuntu:~/intel/oneapi/inspector/latest/bin64$ inspxe-gui 
Gtk-Message: 00:30:04.585: Failed to load module "canberra-gtk-module"

resolver

Falta la biblioteca de dependencia, el comando de instalación es el siguiente:

@ubuntu:~/intel/oneapi/inspector/latest/bin64$ sudo apt-get install libcanberra-gtk-module

Registro de instalación:

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) ...

Supongo que te gusta

Origin blog.csdn.net/Mercury_Lc/article/details/131767750
Recomendado
Clasificación