Re: gtk/g_object_compat_control error after upgrading Ubuntu



On Wed, Jun 07, 2006 at 11:02:39PM +0000, Dave Kuhlman wrote:
> I am running Kubuntu, which is the KDE version of Ubuntu, a debian based Linux. 
> I upgraded (from breezy to dapper) using the standard Debian tools (apt-get). 
> After doing so, I get the following error messages when I run gtk applications:
> 
> ~ [1] gedit
> gedit: symbol lookup error: /usr/lib/libgtk-x11-2.0.so.0: undefined symbol:
> g_object_compat_control
> ~ [2] evince
> evince: symbol lookup error: /usr/lib/libgtk-x11-2.0.so.0: undefined symbol:
> g_object_compat_control
> 
> Does anyone have a suggestion?

What

  ldd some-gtk-app

prints?  Namely the libgobject-2.0 is interesting.

> This symbol seems to be defined in libgobject-2.0.a.  I ran::
> 
>     $ nm -A --defined-only lib* | grep g_object_compat_control | less

You cannot get symbols from shared libs with nm.  Try
something like

  eu-readelf --symbols libgobject-2.0.so.0.1000.3

instead to get symbol info from the dynamic lib. Static libs
(.a) are not used for dynamic linking and thus irrelevant
here.

What libgobject-2.0* files you have there anyway?

> ...
> So, I did::
> 
>     $ sudo apt-get --reinstall install libglib2.0-dev

The NON-dev package is important for run-time, -dev is only
important for compilation.  So what libglib2.0 do you have
installed?  Is it at least 2.10.0?

Yeti


--
Anonyms eat their boogers.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]