Re: gconf

Cyrille Moureaux <[email protected]> Fri, 15 Jul 2005 16:46:21 +0200
Newsgroups gmane.comp.gnome.lib.gconf
Message-ID <[email protected]>
Hi Eli,
> 
> * Output of gconf-sanity-check-1 or gconf-sanity-check-2 if any.
> 
> Check 1 returns nothing.
> 
> Check 2 returns the following.
> 
> /opt/gnome/lib/GConf/2/gconf-sanity-check-2: symbol lookup error:
> /opt/gnome/lib/libgtk-x11-2.0.so.0: undefined symbol:
> g_option_context_new
> 
> gconfd tries to start. Then:
> 
> gconfd (ema-12360): Failed to load source
> "xml:readonly:/etc/opt/gnome/gconf/gconf.xml.mandatory": Failed:
> Error opening module `xml':
> /opt/gnome/lib/GConf/2/libgconfbackend-xml.so: undefined symbol:
> g_assert_warning Jul 10 19:30:40 papka gconfd (ema-12360): Failed to
> load source "xml:readwrite:/home/ema/.gconf": Failed: Error opening
> module `xml': /opt/gnome/lib/GConf/2/libgconfbackend-xml.so:
> undefined symbol: g_assert_warning Jul 10 19:30:40 papka gconfd
> (ema-12360): Failed to load source
> "xml:readonly:/etc/opt/gnome/gconf/gconf.xml.defaults": Failed: Error
> opening module `xml': /opt/gnome/lib/GConf/2/libgconfbackend-xml.so:
> undefined symbol: g_assert_warning Jul 10 19:30:40 papka gconfd
> (ema-12360): Error loading some config sources: Failed: Error opening
> module `xml': /opt/gnome/lib/GConf/2/libgconfbackend-xml.so:
> undefined symbol: g_assert_warning
> 
 From these error messages, and the one you get when you start 
gconf-sanity-check-2, it looks like your environment is not in a proper 
state. Both the libgtk and libgconfbackend-xml are complaining about not 
finding symbols which I'd expect to be in the basic Gnome library 
(glib). Not finding the symbols means those libraries can't be loaded, 
which pretty much prevents anything from working. If really glib is not 
available in the standard paths, I'd expect a lot of things (not just 
GConf) will have problems doing anything.

Possibly running ldd on the libraries that have problems loading will 
show you their dependencies and the missing ones, that you then can try 
to track either on your system or in installation packages.

Hope this helps,

Cyrille