make test: invalid ELF header

Derek Atkins warlord at MIT.EDU
Mon Jan 2 11:16:43 EST 2006


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
>



-- 
       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