Compiling on 64 bit SuSE - some success
Des Dougan
des at DouganConsulting.com
Thu Sep 22 01:28:23 EDT 2005
On Tue, 2005-09-20 at 10:55 -0400, Robert Heller wrote:
> Des Dougan <des at douganconsulting.com>,
> In a message on Mon, 19 Sep 2005 22:35:01 -0700, wrote :
>
> DD> On Tue, 2005-09-20 at 01:05 -0400, David Hampton wrote:
> DD> > On Mon, 2005-09-19 at 21:35 -0700, Des Dougan wrote:
> DD> >
> DD> > > Configure, make and make install run cleanly after adding further
> DD> > > parameters to the configure script (which I'll document once it's all
> DD> > > working OK). Running gnucash after completion gives the following error,
> DD> > > both as root and as my userid.
> DD> > >
> DD> > > des at sempron:~> gnucash
> DD> > > ERROR: In procedure dynamic-link:
> DD> > > ERROR: file: "libgw-gnc", message: "/opt/gnome/lib64/libgw-gnc.so.0:
> DD> > > undefined symbol: gtk_marshal_NONE__NONE"
> DD> >
> DD> > The gtk_marshal_XXX__YYY functions are defined in the core gtk library.
> DD> > They are responsible for bundling up arguments to a signal callback
> DD> > function (the YYY part) and handling the return value from that function
> DD> > (the XXX part). In this no arguments and a NULL return.
> DD> >
> DD> > $ objdump --dynamic-syms /usr/lib/libgtk-1.2.so.0.9.1 | grep
> DD> > gtk_marshal_NONE__NONE
> DD> > 0407918a g DF .text 00000018 Base gtk_marshal_NONE__NONE
> DD> >
> DD> > > I've searched on Google for this, but can't find anything relevant. This
> DD> > > is the same error which occurs after running
> DD> >
> DD> > My guess is that you can't find /usr/lib/libgtk-1.2.so.0, or whatever
> DD> > version would be on your system.
> DD> >
> DD> > David
> DD>
> DD>
> DD> David,
> DD>
> DD> Thanks for this. As far as I can see, the libgtk library is there:
> DD>
> DD> objdump --dynamic-syms /opt/gnome/lib64/libgtk-1.2.so.0.9.1 | grep gtk_marshal_NONE__NONE
> DD> 00000000000ac670 g DF .text 0000000000000011 Base gtk_marshal_NONE__NONE
> DD>
> DD> /opt/gnome/lib64 is also included in /etc/ld.so.conf, which should
> DD> enable it to be found, as far as I understand it, anyway...
> DD>
> DD> Is there something else I can check?
>
> Make sure you have re-run ldconfig *after* you built and installed
> /opt/gnome/lib64/libgtk-1.2.so.0.9.1, so as to make sure the system
> itself knows it is there and all of the proper symlinks have been made.
> You always need to re-run ldconfig after modifying /etc/ld.so.conf.
>
> What happens if you define LD_LIBRARY_PATH to /opt/gnome/lib64 before
> running gnucash? Also, does your link step properly reference
> /opt/gnome/lib64/libgtk-1.2.so (eg "-L/opt/gnome/lib64 -lgtk-1.2")?
> Maybe you need yet another option to the configure step...
I've checked the configure options, and am unable to find anything
related to gtk. I've rebuilt it several times now, tweaking
configuration parameters, but am stuck... and I still can't understand
why the rpmbuild would fail with the same error.
I do see a fairly large number of warnings during the "make" and "make
install" steps similar to this one:
*** Warning: Linking the executable test-print-queries against the loadable module
*** libgncmodule.so is not portable!
Is this something to be concerned about?
Thanks,
Des
--
Des Dougan, Principal
Dougan Consulting Group
Ph: 604-980-2848 Email: des at DouganConsulting dot com
www.DouganConsulting.com
Design - Implementation - Support
More information about the gnucash-user
mailing list