Compiling on 64 bit SuSE (Was Re: List OK?)

Des Dougan des at DouganConsulting.com
Mon Sep 5 21:58:41 EDT 2005


On Mon, 2005-09-05 at 21:25 -0400, Derek Atkins wrote:
> Quoting Des Dougan <des at DouganConsulting.com>:
> 
> 
> > Well, I decided to press on. libltdl.so is a symbolic link to
> > libltdl.so.1 in /usr/lib, so I created a new symbolic link to
> > the /usr/lib64 directory. This got me further and carrying out the same
> > steps again for subsequent links had "make" completing, apparently
> > successfully. "make install" ran through, although it provided warnings
> > about static libraries such as this example:
> 
> I'm surprised that worked...
> 
> > *** Warning: This system can not link to static lib archive 
> > ../../../src/business/business-ledger/libgnc-business-ledger.la.
> > *** I have the capability to make that library automatically link in when
> > *** you link to this library.  But I can only do this if you have a
> > *** shared version of the library, which you do not appear to have.
> > *** But as you try to build a module library, libtool will still create
> > *** a static module, that should work as long as the dlopening application
> > *** is linked with the -dlopen flag to resolve symbols at runtime.
> >
> > I therefore tries running gnucash, but got the following failure:
> >
> > des at sempron:~> gnucash
> > ERROR: In procedure dynamic-link:
> > ERROR: file: "libgw-gnc", message: "/usr/lib64/libgw-gnc.a: invalid 
> > ELF header"
> >
> > Can anyone offer any pointers to the cause of this?
> 
> It built a static library instead of a shared library.  Gnucash can't handle
> that.

Yes, I Google'd and found a reference to this from last year. As I
mentioned elsewhere, SuSE ships an x86_64 version, so they've obviously
resolved this, but of course, they have a problem with importing OFX
files, which I make use of.  

Is there any way to patch what they ship (assuming where the issue lies
can be identified easily), or is my only viable option to re-install
SuSE with the 32 bit version (which would be a fairly major pain)?

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