Red Hat Bugzilla – Bug 212337
gnucash: undefined symbol
Last modified: 2014-03-16 23:03:31 EDT
Description of problem:
gnucash doesn't run on a newly update FC5->FC6 with an undefined symbol. error
essage is: gnucash-bin: symbol lookup error: /usr/lib/libgtk-x11-2.0.so.0:
undefined symbol: g_hash_table_ref
VersionRelease number of selected component (if applicable):
Steps to Reproduce:
1.just run gnucash from a shell
gnucash-bin: symbol lookup error: /usr/lib/libgtk-x11-2.0.so.0: undefined
a running gnucash
What version of glib2 do you have installed?
Do you have a /usr/lib/libglib-2.0.so.0 file?
Are there glib-related errors in your upgrade log?
% ll /usr/lib/libglib*
lrwxrwxrwx 1 root root 21 Oct 25 06:23 /usr/lib/libglib-1.2.so.0 ->
-rwxr-xr-x 1 root root 169884 Aug 29 11:14 /usr/lib/libglib-1.2.so.0.0.10*
lrwxrwxrwx 1 root root 22 Oct 24 22:35 /usr/lib/libglib-2.0.so.0 ->
-rwxr-xr-x 1 root root 560720 Sep 10 2005 /usr/lib/libglib-2.0.so.0.600.6*
lrwxrwxrwx 1 root root 21 Oct 25 06:23 /usr/lib/libglib.so -> libglib-1.2.s\
I don't think I have any glib-related errors in upgrade.log. I'll attach the
grep -i -e error -e warning ~root/upgrade.log
Created attachment 139479 [details]
output of 'grep -i -e error -e warning ~root/upgrade.log'
You have an old glib2 in /usr (/usr/lib/libglib-2.0.so.0.600.6). Removing that
and rerunning ldconfig should fix things.
Bitten by an ATRPMS package. That stuff come in with:
which I may have needed at some point. I just noticed that I still have a lot
of fc4 and fc5 packages, mostly from ATRPMS, that I'll need to clean up.
I removed the package above, rerun ldconfig, and now I have another missing
symbol, g_initially_unowned_get_type, but I guess I should spend some time and
get rid of old libs, then try it again :-)
Needed to remove these three additional glib2 packages from ATRPMS that were
lingering on my system
Reran ldconfig, and now gnucash comes up. I'm running it from home, to work,
over ssh, thus can't really run it to see is something else is screwed up, but
I'd bet that is it.