Compiling on 64 bit SuSE - some success
Des Dougan
des at DouganConsulting.com
Wed Sep 21 01:50:00 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...
Robert,
Thanks for your help. I had run ldconfig as on of my steps (and GTK is
installed from RPM in any case).
Defining LD_LIBRARY_PATH has no effect - I get the same error message.
grepping the source tree shows "-L/opt/gnome/lib64 -lgtk" (without
version number) in several places, so I assume it's properly included.
I'll check again into the configure options, although, as the rpmbuild
threw up the same error, I wonder if it's more likely to be a problem
with what GTK RPMs or RPM versions may be installed?
Regards,
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