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

by on March 16, 2012 · 2 comments· LAST UPDATED March 16, 2012

in ,

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:

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 2 comments… read them below or add one }

1 tats March 20, 2012 at 1:55 pm

sudo apt-get install libglib2.0-dev

Reply

2 Alejandro March 21, 2012 at 10:29 pm

I got this error trying to execute the adb command from the Android SDK. Thanks for the post.

Best regards

Reply

Leave a Comment

Tagged as: , , , , , , , , , , , , , , , ,

Previous Faq:

Next Faq: