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

Posted on in Categories , last updated March 16, 2012

I‘m trying to run an application and getting the following error on screen:

error while loading shared libraries: libgobject-2.0.so.0

How do I fix this problem under Debian or Ubuntu 64 bit (amd64) Linux?

You need to install the GTK+ ia32 shared libraries under 64 bit Debian or Ubuntu Linux. This package delivers a set of pre-compiled ia32 (i386 family) shared libraries, so that third-party 32bit programs can use the GTK+ widgets on 64-bit systems that include appropriate emulation support. You may need to install and use ia32-lib package on amd64 and ia64 systems. This package contains runtime libraries for the ia32/i386 architecture, configured for use on an amd64 or ia64 Debian system running a 64-bit kernel.

Install ia32-lib and ia32-libs-gtk On Debian / Ubuntu Linux

Open a command-line terminal (select Applications > Accessories > Terminal), and then type:
$ sudo apt-get install ia32-libs-gtk ia32-lib
OR
# apt-get install ia32-libs-gtk
Type the following command to set up the correct links for the shared binaries and rebuild the cache:
# /sbin/ldconfig -v

A Note About Searching Missing Libraries On Debian and Ubuntu Linux

Use the apt-cache command as follows:
$ apt-cache search lib-name-here
$ apt-cache search libcgal

You can also search missing libraries on line at the following locations:

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

2 comment

Leave a Comment