Hi Dirk,

The log messages seem to indicate you may have a version mismatch in guile 
between your 
build environment and your runtime environment.

I base that observation on this line
> ;;; note: source file
> /opt/gnucash/share/guile/site/2.2/gnucash/utilities.scm
> ;;;       newer than compiled
> /home/banking/.cache/guile/ccache/2.0-LE-8-2.0/opt/gnucash/share/guile/site/
> 2.2/gnucash/utilities.scm.go

The '2.0-LE-8-2.0' part suggests your runtime is using guile 2.0, while
this part 'opt/gnucash/share/guile/site/2.2/' suggests your build environment 
used guile 2.2 
to compile the guile source files in gnucash.

Or a slightly different way to say this - gnucash got linked to guile 2.0 while 
the guile sources 
were compiled with guile 2.2.

guile 2.0 can't read files compiled with guile 2.2, hence
1. the error message about bad header objects
2. gnucash' attempt to recompile these sources at run time

My first guess is you have not installed the proper -dev package for guile. You 
may need to 
install guile-2.2-dev (and possibly remove guile-2.0-dev).

Regards,

Geert

PS when sending messages to the mailing-list, please do not reply to existing 
messages if 
you want to start a new discussion. Your subject line refers to another 
discussion, which is 
confusing.

Op vrijdag 7 januari 2022 14:56:57 CET schreef bugzilla:
> Hi Derek,
> thanks for your prompt reply. I am not sure if version 3.8 had been
> uninstalled before the *BUILT* process. So I did the following:
> cd gnucash/build
> sudo make uninstall
> make clean
> rm ~/.cache/dconf/user
> mv /opt/gnucash/share/glib-2.0/schemas/gschemas.compiled
> /opt/gnucash/share/glib-2.0/schemas/gschemas.compiled.bkp
> (there were no other files inside the 'schemas' folder)
> 
> Now I also get error messages that point to /.cache/guile/
> 
> /opt/gnucash/bin/gnucash
> This is a development version. It may or may not work.
> Report bugs and other problems to gnucash-devel@gnucash.org
> You can also lookup and file bug reports at https://bugs.gnucash.org
> To find the last stable version, please refer to https://www.gnucash.org/
> ;;; WARNING: loading compiled file
> /opt/gnucash/lib/x86_64-linux-gnu/guile/2.2/site-ccache/gnucash/utilities.go
> failed:
> ;;; ERROR: In procedure make_objcode_from_file: bad header on object
> file: "\x7fELF\x02\x01\x01ÿ\x00\x00\x00\x00\x00\x00\x00\x00"
> ;;; note: source file
> /opt/gnucash/share/guile/site/2.2/gnucash/utilities.scm
> ;;;       newer than compiled
> /home/banking/.cache/guile/ccache/2.0-LE-8-2.0/opt/gnucash/share/guile/site/
> 2.2/gnucash/utilities.scm.go ;;; note: auto-compilation is enabled, set
> GUILE_AUTO_COMPILE=0
> ;;;       or pass the --no-auto-compile argument to disable.
> ;;; compiling /opt/gnucash/share/guile/site/2.2/gnucash/utilities.scm
> ;;; WARNING: loading compiled file
> /opt/gnucash/lib/x86_64-linux-gnu/guile/2.2/site-ccache/gnucash/core-utils.g
> o failed:
> ;;; ERROR: In procedure make_objcode_from_file: bad header on object
> file: "\x7fELF\x02\x01\x01ÿ\x00\x00\x00\x00\x00\x00\x00\x00"
> ;;; WARNING: loading compiled file
_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to