Bug 212337 - gnucash: undefined symbol
Summary: gnucash: undefined symbol
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: gnucash
Version: 6
Hardware: i386
OS: Linux
medium
urgent
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-10-26 12:59 UTC by Henrique Martins
Modified: 2014-03-17 03:03 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-10-26 16:16:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
output of 'grep -i -e error -e warning ~root/upgrade.log' (2.16 KB, text/plain)
2006-10-26 16:04 UTC, Henrique Martins
no flags Details

Description Henrique Martins 2006-10-26 12:59:04 UTC
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:

Comment 1 Bill Nottingham 2006-10-26 15:28:27 UTC
What version of glib2 do you have installed?

Comment 2 Henrique Martins 2006-10-26 15:33:23 UTC
glib2-2.12.3-2.fc6.i386.rpm 
glib2-devel-2.12.3-2.fc6.i386.rpm 


Comment 3 Bill Nottingham 2006-10-26 15:48:57 UTC
Do you have a /usr/lib/libglib-2.0.so.0 file?

Are there glib-related errors in your upgrade log?

Comment 4 Henrique Martins 2006-10-26 16:03:26 UTC
% 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


Comment 5 Henrique Martins 2006-10-26 16:04:32 UTC
Created attachment 139479 [details]
output of 'grep -i -e error -e warning ~root/upgrade.log'

Comment 6 Bill Nottingham 2006-10-26 16:16:22 UTC
You have an old glib2 in /usr (/usr/lib/libglib-2.0.so.0.600.6). Removing that
and rerunning ldconfig should fix things.

Comment 7 Henrique Martins 2006-10-26 16:53:36 UTC
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 :-)

Comment 8 Henrique Martins 2006-10-26 17:12:25 UTC
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.




Note You need to log in before you can comment on or make changes to this bug.