/usr/local/lib/libgw-gnc.a: invalid ELF header
Alpár Jüttner
Alpar.Juttner at ericsson.com
Mon Nov 21 10:26:33 EST 2005
I can't understand. If a package maintainer manages to compile
gnucash-1.8.12 on SuSE10.0, why can't I do it myself?
Alpar
On Mon, 2005-11-21 at 11:45 +0100, Neil Williams wrote:
> On Monday 21 November 2005 9:57 am, Alpár Jüttner wrote:
> > Hi,
> >
> > I have the same problem as below. Could anybody help solvig it?
>
> I don't think it can be solved in the gnucash 1.8 tree, it is solved
> in
> gnucash2.
>
> > Btw, gcc-4.0 emits warnings with gnucash 1.8.12, therefore
> > --disable-error-on-warning option must be used.
>
> disable-error-on-warning prevents some nasty problems. Essentially,
> gnucash
> 1.8.x uses a version of g-wrap that does not produce correct code with
> gcc4.
> This is part of the G2 work. If gnucash won't compile without
> disable-error-on-warning it isn't likely to work once compiled with it
> set.
> (Which is why it's used.)
>
> 1. Why are you compiling the 1.8 tree? You should be on SVN and using
> the
> Gnome2 port if you are compiling from source.
>
> 2. Use existing binary packages for 1.8 until gnucash2 is ready.
>
> 3. If no binary package exists for your platform, work with the SVN
> source to
> create one based on G2 - there's no further development in the 1.8
> tree.
>
> > > I have successfully built and have been running the source from
> 1.8.11.
> > > I just built 1.8.12 and I get the following when I try to launch:
> > >
> > > $ gnucash
> > > ERROR: In procedure dynamic-link:
> > > ERROR: file: "libgw-gnc", message: "/usr/local/lib/libgw-gnc.a:
> invalid
> > > ELF header"
> > >
> > > Anybody know what I need to do here?
>
> Either :
>
> 1. downgrade gcc to 3.3 or 3.4 (not necessarily trivial) or
>
> 2. move to SVN and use the gnucash2 source that works with gcc4.
>
> --
>
> Neil Williams
> =============
> http://www.data-freedom.org/
> http://www.nosoftwarepatents.com/
> http://www.linux.codehelp.co.uk/
>
>
>
--
In order to prevent people from receiving viruses
that would seem to originate from my email,
if you use Microsoft Windows you do not have permission
to add this address to your address book.
If I am in your address book, please remove me.
Of course, this does not apply to GNU/Linux users.
Thank you.
More information about the gnucash-user
mailing list