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): gnucash-2.0.1-6.fc6 gtk2-devel-2.10.4-4.fc6 gtk2-2.10.4-4.fc6 How reproducible: 100% Steps to Reproduce: 1.just run gnucash from a shell Actual results: gnucash-bin: symbol lookup error: /usr/lib/libgtk-x11-2.0.so.0: undefined symbol: g_hash_table_ref Expected results: a running gnucash Additional info:
What version of glib2 do you have installed?
glib2-2.12.3-2.fc6.i386.rpm glib2-devel-2.12.3-2.fc6.i386.rpm
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 -> libglib-1.2.so.0.0.10* -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 -> libglib-2.0.so.0.600.6* -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\ o.0.0.10* I don't think I have any glib-related errors in upgrade.log. I'll attach the output of grep -i -e error -e warning ~root/upgrade.log separately
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: libglib-2.0_0-2.6.6-1_12.rhfc4.at 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 libgmodule-2.0_0-2.6.6-1_12.rhfc4.at libgobject-2.0_0-2.6.6-1_12.rhfc4.at libgthread-2.0_0-2.6.6-1_12.rhfc4.at 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.