Without doubt, Mozilla Firefox is the most popular web browser in Linux. It is the default web browser installed in almost all major Linux distributions currently exist.
There are many ways to install Firefox on your Linux distribution. The easiest way is by using your default Linux distribution's repository. Unfortunately, Ubuntu has decided to switch to Snap to install Firefox in its official repository, and many users aren't happy with that decision.
Many users then choose to find a third party repository, and or download the official Firefox binary from the official Mozilla Firefox website. However, you might find an error message when trying to run Firefox binary. You might find this following error message XPCOMGlueLoas error for file libxul.so.
The Simple Solution
Libxul.so exists in Mozilla Firefox folder, but it fails to load because there is a missing dependency in your Linux system: libdbus-glib-1-2. So, to solve the issue is by simply installing the package:
sudo apt install libdbus-glib-1-2 (Ubuntu/Debian)
sudo dnf install libdbus-glib-1-2 (Fedora)
sudo zypper install libdbus-glib-1-2 (OpenSuse)
sudo dnf install lib64dbus-glib-1_2 (OpenMandriva)
Now, the Mozilla Firefox should run normally as it is supposed to be.
Comments