Error While Loading Shared Libraries: libgobject-2.0.so.0 Error and Solution [ Debian / Ubuntu ]

The “Error While Loading Shared Libraries: libgobject-2.0.so.0” error occurs when a program is unable to find the libgobject-2.0.so.0 library, which is a part of the GLib library.

To resolve this error, you need to install the GLib library on your system. On Debian and Ubuntu, you can do this by using the following command:

sudo apt-get install libglib2.0-0

After installing the GLib library, try running the program again. If the error persists, you may need to update the library path in the LD_LIBRARY_PATH environment variable. To do this, add the following line to your shell profile file (such as .bashrc or .bash_profile):

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/x86_64-linux-gnu

Save the file, log out and log back in, and try running the program again.

(rpdrlatino.com)

Leave a Comment