make test: invalid ELF header

Derek Atkins warlord at MIT.EDU
Tue Jan 3 11:41:27 EST 2006


The postgres code is only barely supported, so it's not surprising to
me that it doesn't work right with 8.1.1

-derek

Quoting Fred Stevens <2skaters at cannon.net>:

> Thanks!
>
> I tried the config.guess from 1.8.11 and got the same results.  
> Including --build=i686-pc-linux-gnu for 1.8.12 produced a correct 
> build.  I still get the same guile crash with postgres 8.1.1 though.  
> I suspect that it is due to differences in the postgres libraries and 
> include files though.  It works with postgresql 8.0.5 but not 8.1.1
>
> Fred
>
> Mark Eackloff wrote:
>
>> Ok.  So we use --build= as an argument to the configure script.  The
>> trick is to figure out exactly what is supposed to follow --build= for
>> your system.  configure --help didn't do it for me but the following
>> worked:  Instead of skimming through the 26000 lines of the configure
>> script for the answer I went back to version 1.8.11 and executed
>> conf.guess.  It yielded "i686-pc-linux-gnu".  The 1.8.12 version yielded
>> "i686-pc-linux".  Close but no banana.  So "configure
>> --build=i686-pc-linux-gnu" worked.  This may help Fred also with the
>> invalid ELF header.
>>
>> I can't help with the guile crashes.
>>
>> Mark Eackloff
>>
>> Derek Atkins wrote:
>>
>>> The problem is that config.guess is "broken" on your system and doesn't
>>> think your system can build shared libraries...  So it's building
>>> as static libraries.   Grep the archives for --build= to see how
>>> to correct it.
>>>
>>> -derek
>>>
>>> Quoting Fred Stevens <2skaters at cannon.net>:
>>>
>>>
>>>> I get a similar error on SuSE 9.2 when trying to do a make check. This
>>>> is part of the output:
>>>> ** WARNING **: Failed to dlopen()
>>>> '../../../src/gnc-module/test/misc-mods/libagedver.la':
>>>> ../../../src/gnc-module/test/misc-mods/.libs/libagedver.a: invalid ELF
>>>> header
>>>>
>>>>
>>>> ** WARNING **: Failed to open module gnucash/agedver
>>>>
>>>> ** WARNING **: : could not locate gnucash/agedver interface v.5
>>>>
>>>> ERROR: In procedure dynamic-link:
>>>> ERROR: file: "libgncmodule", message:
>>>> "../../../src/gnc-module/.libs/libgncmodule.a: invalid ELF header"
>>>> ERROR: In procedure dynamic-link:
>>>> ERROR: file: "libgw-gnc-module", message:
>>>> "../../../src/gnc-module/.libs/libgw-gnc-module.a: invalid ELF header"
>>>> make[6]: *** [check-TESTS] Error 1
>>>> make[5]: *** [check-am] Error 2
>>>> make[4]: *** [check-recursive] Error 1
>>>> make[3]: *** [check-recursive] Error 1
>>>> make[2]: *** [check] Error 2
>>>> make[1]: *** [check-recursive] Error 1
>>>> make: *** [check-recursive] Error 1
>>>>
>>>> I also get a guile crash when accessing a postgresql backend using
>>>> postgresql 8.1.1 (but not 8.0.5) and gnucash 1.8.11.  Guile crashes
>>>> with a segmentation fault and the postgres backend issues this error
>>>> in the log file:
>>>>
>>>> ERROR:  missing FROM-clause entry for table "gnctransaction"
>>>> LOG:  unexpected EOF on client connection
>>>>
>>>> I haven't checked changes in libpq and libpq-fe for postgres between
>>>> 8.0 and 8.1 but I am sure that there are some.  If anyone has clues,
>>>> I'd appreciate the help.  In the mean time I'll keep digging.
>>>>
>>>> Thanks,
>>>>
>>>> Fred
>>>> Mark Eackloff wrote:
>>>>
>>>>
>>>>> gnucash 1.8.12 on RedHat Enterprise Linux 4:
>>>>> make ran with zero return code.
>>>>> make check complains about numerous modules with "invalid ELF header" in
>>>>> ../../../src/gnc-module/.libs/ begining with libgncmodule.a
>>>>> FAIL: test-load-c
>>>>> FAIL: test-load-scm
>>>>> FAIL: test-gwrapped-c
>>>>> FAIL: test-scm-module
>>>>> FAIL: test-scm-multi
>>>>> FAIL: test-load-deps
>>>>> FAIL: test-adgdver
>>>>> FAIL: test-dynload
>>>>> FAIL: test-scm-dynload
>>>>> FAIL: test-scm-init
>>>>> =====================
>>>>> 10 of 12 tests failed
>>>>> =====================
>>>>>
>>>>> help
>>>>> _______________________________________________
>>>>> gnucash-user mailing list
>>>>> gnucash-user at gnucash.org
>>>>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>>>>>
>>>>>
>>>>>
>>>> _______________________________________________
>>>> gnucash-user mailing list
>>>> gnucash-user at gnucash.org
>>>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>>>>
>>>>
>>>
>>>
>>
>>
>>
>
>
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>



-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available



More information about the gnucash-user mailing list