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:


🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 2 comments so far... add one

CategoryList of Unix and Linux commands
Disk space analyzersncdu pydf
File Managementcat
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network UtilitiesNetHogs dig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
2 comments… add one
  • tats Mar 20, 2012 @ 13:55

    sudo apt-get install libglib2.0-dev

  • Alejandro Mar 21, 2012 @ 22:29

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

    Best regards

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre> for code samples. Still have questions? Post it on our forum