LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-24-2012, 06:26 AM   #1
Lumify
Member
 
Registered: Jan 2012
Distribution: Debian Stable
Posts: 52

Rep: Reputation: Disabled
Gtk-Message: Failed to load module "canberra-gtk-module"


I get this error whenever I open gedit.
Code:
Gtk-Message: Failed to load module "canberra-gtk-module"
I used strace gedit | grep can and I got this:
Code:
$ strace gedit 2>&1 | grep can
access("/home/user/.gtk-3.0/3.0.0/x86_64-pc-linux-gnu/modules/libcanberra-gtk-module.so", F_OK) = -1 ENOENT (No such file or directory)
access("/home/user/.gtk-3.0/3.0.0/x86_64-pc-linux-gnu/modules/libcanberra-gtk-module.la", F_OK) = -1 ENOENT (No such file or directory)
access("/home/user/.gtk-3.0/3.0.0/modules/libcanberra-gtk-module.so", F_OK) = -1 ENOENT (No such file or directory)
access("/home/user/.gtk-3.0/3.0.0/modules/libcanberra-gtk-module.la", F_OK) = -1 ENOENT (No such file or directory)
access("/home/user/.gtk-3.0/x86_64-pc-linux-gnu/modules/libcanberra-gtk-module.so", F_OK) = -1 ENOENT (No such file or directory)
access("/home/user/.gtk-3.0/x86_64-pc-linux-gnu/modules/libcanberra-gtk-module.la", F_OK) = -1 ENOENT (No such file or directory)
access("/home/user/.gtk-3.0/modules/libcanberra-gtk-module.so", F_OK) = -1 ENOENT (No such file or directory)
access("/home/user/.gtk-3.0/modules/libcanberra-gtk-module.la", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/x86_64-pc-linux-gnu/modules/libcanberra-gtk-module.so", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/x86_64-pc-linux-gnu/modules/libcanberra-gtk-module.la", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/modules/libcanberra-gtk-module.so", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/modules/libcanberra-gtk-module.la", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/x86_64-linux-gnu/gtk-3.0/x86_64-pc-linux-gnu/modules/libcanberra-gtk-module.so", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/x86_64-linux-gnu/gtk-3.0/x86_64-pc-linux-gnu/modules/libcanberra-gtk-module.la", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/x86_64-linux-gnu/gtk-3.0/modules/libcanberra-gtk-module.so", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/x86_64-linux-gnu/gtk-3.0/modules/libcanberra-gtk-module.la", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gtk-3.0/3.0.0/x86_64-pc-linux-gnu/modules/libcanberra-gtk-module.so", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gtk-3.0/3.0.0/x86_64-pc-linux-gnu/modules/libcanberra-gtk-module.la", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gtk-3.0/3.0.0/modules/libcanberra-gtk-module.so", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gtk-3.0/3.0.0/modules/libcanberra-gtk-module.la", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gtk-3.0/x86_64-pc-linux-gnu/modules/libcanberra-gtk-module.so", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gtk-3.0/x86_64-pc-linux-gnu/modules/libcanberra-gtk-module.la", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gtk-3.0/modules/libcanberra-gtk-module.so", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gtk-3.0/modules/libcanberra-gtk-module.la", F_OK) = -1 ENOENT (No such file or directory)
stat("libcanberra-gtk-module.so", 0x7fff73882db0) = -1 ENOENT (No such file or directory)
stat("libcanberra-gtk-module.so.so", 0x7fff73882db0) = -1 ENOENT (No such file or directory)
stat("libcanberra-gtk-module.so.la", 0x7fff73882db0) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/tls/x86_64/libcanberra-gtk-module.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/tls/libcanberra-gtk-module.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/x86_64/libcanberra-gtk-module.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libcanberra-gtk-module.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/tls/x86_64/libcanberra-gtk-module.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/tls/libcanberra-gtk-module.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/x86_64/libcanberra-gtk-module.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libcanberra-gtk-module.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/x86_64/libcanberra-gtk-module.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/libcanberra-gtk-module.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/x86_64/libcanberra-gtk-module.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libcanberra-gtk-module.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/x86_64/libcanberra-gtk-module.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libcanberra-gtk-module.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64/libcanberra-gtk-module.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libcanberra-gtk-module.so", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "Gtk-Message: Failed to load modu"..., 57Gtk-Message: Failed to load module "canberra-gtk-module"
stat("/usr/share/fonts/opentype/cantarell", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/share/fonts/opentype/cantarell/Cantarell-Regular.otf", O_RDONLY) = 15
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
open("/usr/share/fonts/opentype/cantarell/Cantarell-Bold.otf", O_RDONLY) = 11
I have these packages installed: gnome-session-canberra, libcanberra-gtk-module, libcanberra-gtk0, libcanberra-gtk3-0, libcanberra-pulse, libcanberra0. I'm running Gnome 3.2.1, Debian Wheezy.
 
Old 03-25-2012, 03:55 PM   #2
John VV
Guru
 
Registered: Aug 2005
Posts: 12,906

Rep: Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715
Quote:
"/usr/lib/x86_64-linux-gnu/gtk-3.0/modules/libcanberra-gtk-module.so", F_OK) = -1 ENOENT (No such file or directory)
" (No such file or directory)"

that is fairly self explanatory
you do not have it installed , or
you installed it some place else

but the 64 bit version is not where it is expected
 
Old 03-29-2012, 01:53 PM   #3
Lumify
Member
 
Registered: Jan 2012
Distribution: Debian Stable
Posts: 52

Original Poster
Rep: Reputation: Disabled
I found that file elsewhere (it was in a GTK2 folder) and copied it to that location, but it complained that I couldn't use the GTK2 module for GTK3. I used apt-file to search for libcanberra-gtk-module.so, and I found that the package libcanberra-gtk3-module had that file. After installing that, everything works fine.
 
Old 12-05-2012, 06:24 AM   #4
roddersg
LQ Newbie
 
Registered: May 2011
Posts: 1

Rep: Reputation: 1
Thank you!! You hit the nail on the head!

sudo apt-get install libcanberra-gtk3-module

works like a charm!!
Thanks
 
1 members found this post helpful.
Old 06-15-2013, 12:12 PM   #5
Savalan
LQ Newbie
 
Registered: Oct 2010
Posts: 3

Rep: Reputation: 0
Cool

Quote:
Originally Posted by roddersg View Post
sudo apt-get install libcanberra-gtk3-module

works like a charm!!
Thanks
you're a bowss!
 
Old 04-18-2014, 12:09 PM   #6
estomagado
LQ Newbie
 
Registered: Jul 2012
Posts: 2

Rep: Reputation: Disabled
64 bit

This is an old thread, but I'm adding info that might be of use.

You may be getting this message in 64-bit systems even though you have the lib installed. That's because you might be using a 32-bit software and it expects the lib somewhere else.

My system is an Ubuntu 14.04, but I guess it would be the same thing on your Debian:

Code:
sudo apt-get install libcanberra-gtk-module:i386
Regards
--
estomagado
 
Old 09-02-2014, 12:38 PM   #7
aaguillon
LQ Newbie
 
Registered: Sep 2014
Location: Caracas
Distribution: Debian 7
Posts: 1

Rep: Reputation: Disabled
I have libcanberra-gtk-module:i386 and libcanberra-gtk-module. The message still happens. Any clue?
Debian 7 amd64 multiarch.
Thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
(EE) Failed to load module "nvidia" (module does not exist, 0) sanitynotvanity Slackware 6 12-11-2011 12:04 PM
F15 gconf-editor Gtk-Message: Failed to load module "pk-gtk-module" syntax error Fedora 5 06-02-2011 02:10 PM
Xorg -- (EE) Failed to load module "glx" (loader failed, 7) windowsrefugeeX Linux - Software 10 09-23-2009 05:51 PM
Failed to load module "ati" (module does not exist, after upgrad from Redhat 3 to 5. perrym8 Red Hat 2 07-24-2007 10:14 AM
"Failed to load module "i915"" Kane635 Linux - Software 0 11-22-2004 08:17 PM


All times are GMT -5. The time now is 05:13 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration