Bug 212337 - gnucash: undefined symbol
gnucash: undefined symbol
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: gnucash (Show other bugs)
6
i386 Linux
medium Severity urgent
: ---
: ---
Assigned To: Bill Nottingham
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-10-26 08:59 EDT by Henrique Martins
Modified: 2014-03-16 23:03 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-10-26 12:16:22 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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

  None (edit)
Description Henrique Martins 2006-10-26 08:59:04 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):
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 11:28:27 EDT
What version of glib2 do you have installed?
Comment 2 Henrique Martins 2006-10-26 11:33:23 EDT
glib2-2.12.3-2.fc6.i386.rpm 
glib2-devel-2.12.3-2.fc6.i386.rpm 
Comment 3 Bill Nottingham 2006-10-26 11:48:57 EDT
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 12:03:26 EDT
% 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 12:04:32 EDT
Created attachment 139479 [details]
output of 'grep -i -e error -e warning ~root/upgrade.log'
Comment 6 Bill Nottingham 2006-10-26 12:16:22 EDT
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 12:53:36 EDT
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 13:12:25 EDT
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.