Description of problem: Seem to be getting "No such file or directory" messages for libcanberra-gtk-module.so, but it seems to be in /usr/lib/gtk-2.0/modules: [tbl@localhost ~]$ ls -l /usr/lib/gtk-2.0/modules total 556 -rwxr-xr-x 1 root root 24344 2008-07-21 20:51 libatk-bridge.so -rwxr-xr-x 1 root root 15652 2008-07-25 09:53 libcanberra-gtk-module.so -rwxr-xr-x 1 root root 971 2008-07-21 20:16 libferret.la -rwxr-xr-x 1 root root 56500 2008-07-21 20:16 libferret.so -rwxr-xr-x 1 root root 22948 2008-02-08 21:30 libgail-gnome.so -rwxr-xr-x 1 root root 1108 2008-07-21 20:16 libgail.la -rwxr-xr-x 1 root root 334380 2008-07-21 20:16 libgail.so -rwxr-xr-x 1 root root 56096 2008-07-22 19:43 libgnomebreakpad.so [tbl@localhost ~]$ Typical messages from ~/.xsession-errors: Gtk-Message: Failed to load module "libcanberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory Gtk-Message: Failed to load module "libcanberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory ** (gnome-session:3117): DEBUG: GsmXsmpServer: SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/3117,unix/unix:/tmp/.ICE-unix/3117 Typical message from starting fusion-icon: [tbl@localhost ~]$ * Detected Session: gnome * Searching for installed applications... * Intel detected, exporting: INTEL_BATCH=1 * Using the GTK Interface Gtk-Message: Failed to load module "libcanberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory * Starting Compiz ... executing: compiz --replace --sm-disable --ignore-desktop-hints ccp --indirect-rendering Gtk-Message: Failed to load module "libcanberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory Version-Release number of selected component (if applicable): libcanberra-gtk2-0.4-1.fc10.i386 libcanberra-0.4-1.fc10.i386 How reproducible: Every time Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Wrote simple program in Python: import pygtk pygtk.require('2.0') import gtk class Base: def __init__(self): self.window = gtk.Window(gtk.WINDOW_TOPLEVEL) self.window.show() def main(self): gtk.main() print __name__ if __name__=="__main__": base = Base() base.main() And the output was Gtk-Message: Failed to load module "libcanberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory __main__
(In reply to comment #1) > Wrote simple program in Python: > > import pygtk > pygtk.require('2.0') > import gtk > > class Base: > def __init__(self): > self.window = gtk.Window(gtk.WINDOW_TOPLEVEL) > self.window.show() > > def main(self): > gtk.main() > > print __name__ > if __name__=="__main__": > base = Base() > base.main() > > And the output was > Gtk-Message: Failed to load module "libcanberra-gtk-module": > libcanberra-gtk-module.so: cannot open shared object file: No such file or directory > __main__ > Created a symlink in /usr/lib/ to /usr/lib/gtk-2.0/modules/libcanberra-gtk-module Error message no longer reported
This is fixed in the latest version of the libcanebrra package (0.4-2)