Why is firefox looking for "libcanberra-gtk-module.so" and "pk-gtk-module.desktop" gtk3 module in RHEL6?

Solution Unverified - Updated -

Issue

  • When a user try to start firefox in RHEL6.10 from the command line, it showing following error:
$> firefox
    Gtk-Message: Failed to load module "canberra-gtk-module"
    Gtk-Message: Failed to load module "pk-gtk-module"
    Gtk-Message: Failed to load module "canberra-gtk-module"
    Gtk-Message: Failed to load module "pk-gtk-module"
  • Both of these "canberra-gtk-module" and "pk-gtk-module" gtk2 modules are already installed on the system, but it is looking for gtk3 libraries:
# locate libpk-gtk-module.so libcanberra-gtk-module.so
/usr/lib64/gtk-2.0/modules/libcanberra-gtk-module.so
/usr/lib64/gtk-2.0/modules/libpk-gtk-module.so

# rpm -qf /usr/lib64/gtk-2.0/modules/libcanberra-gtk-module.so /usr/lib64/gtk-2.0/modules/libpk-gtk-module.so 
libcanberra-gtk2-0.22-3.el6.x86_64
PackageKit-gtk-module-0.5.8-26.el6.x86_64

# rpm -qa |grep -E 'libcanberra-gtk2|PackageKit-gtk-module'
PackageKit-gtk-module-0.5.8-26.el6.x86_64
libcanberra-gtk2-0.22-3.el6.x86_64

Environment

  • Red Hat Enterprise Linux 6
  • firefox-60.5.1-1.el6_10

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content