You are not logged in.
Pages: 1
Hi,
Since yesterday, gnucash is not able to determine the account currency, and produces a lot of error logs like these on startup:
ibsqlite.so.0: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
libdbi: Failed to load driver: /usr/lib/dbd/libdbdsqlite.so
;;; WARNING: loading compiled file /usr/lib/gnucash/scm/ccache/2.0/gnucash/engine.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"
;;; WARNING: loading compiled file /usr/lib/gnucash/scm/ccache/2.0/gnc-numeric.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"
(.......... a lot of more WARNING/ERROR-lines)
ldd /usr/lib/dbd/libdbdsqlite.so yields:
linux-vdso.so.1 (0x00007fffbada5000)
libsqlite.so.0 => not found
libdbi.so.1 => /usr/lib/libdbi.so.1 (0x00007f263b27d000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007f263aed9000)
libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f263acd5000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007f263a9c2000)
/usr/lib64/ld-linux-x86-64.so.2 (0x000055e400874000)
So it cannot find libsqlite.so.0 - which is no wonder, because it does not exist in /usr/lib.
Naively creating a symlink from /usr/lib/libsqlite.so.0 -> /usr/lib/libsqlite3.so does not solve the problem.
Starting gnucash would then produce these errors:
/usr/lib/dbd/libdbdsqlite.so: undefined symbol: sqlite_encoding
libdbi: Failed to load driver: /usr/lib/dbd/libdbdsqlite.so
(.......... a lot of more WARNING/ERROR-lines)
Anybody got a clue how to fix this?
Last edited by MacGyves (2017-07-03 17:07:49)
Offline
% pkgfile libsqlite.so.0
community/sqlite2
Creating symlinks between different libs is a horrible idea. Don't ever think that's a solution to a problem.
Offline
There were two issues involved here:
The first one (producing all the WARNING/ERROR lines) was caused by a stale guile user cache. Removing the cache as described under "Important update notification" on gnucash.org solved this issue.
The other one (producing the "could not determine account currency[...]" popups) is a known gnucash bug introduced in the latest version.
It seems to happen when starting gnucash with a german locale.
Workaround: choose another locale.
Offline
Please remember to mark your thread as solved.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online
For me ERRORs and WARNINGs are not going even after deleting
/home/me/.cache/guile directory.
It gets recreated / recompiled (as expected) but WARNINGs and ERRORs still continue to appear.
;;; WARNING: loading compiled file /usr/lib/gnucash/scm/ccache/2.0/gnucash/report/eguile-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"
;;; WARNING: loading compiled file /usr/lib/gnucash/scm/ccache/2.0/gnucash/report/eguile-html-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"
;;; WARNING: loading compiled file /usr/lib/gnucash/scm/ccache/2.0/gnucash/report/eguile-gnc.go failed:
System is up-to-date.
gnucash opens up fine but I am not sure if its going to corrupt anything.
So just wanted to be sure.
Last edited by amish (2017-04-28 05:57:23)
Offline
It appears from recent changes to PKGBUILD that there are some changes made related to guile2.0
Earlier depends was just "guile" and now switched to "guile2.0"
There is also compile time flag added: "--with-guile=2.0"
Probably requires filing a bug?
Offline
@amish: Have you tried to remove the folder /usr/lib/gnucash/scm/ccache/2.0 as well?
Offline
/usr/lib/gnucash/scm/ccache/2.0 is owned by gnucash i.e. it is part of the package.
I dont think its good idea to delete it.
i will wait for next release of gnucash and then try deleting that folder (if problem still persists)
Offline
Gnucash 2.6.16-2 was released recently.
I was expecting that it would resolve the issue but it hasnt.
Someone at manjaro forum has same issue because manjaro uses arch PKGBUILD:
https://forum.manjaro.org/t/gnucash-2-6 … sues/24750
And probable cause reported there is same as I reported earlier. i.e. guile v/s guile2.0
changing depends from guile2.0 back to guile and remove --with-guile=2.0 resolves the issue.
Offline
Bug report filed:
https://bugs.archlinux.org/task/54270
Commit in PKGBUILD that needs to be reversed:
https://git.archlinux.org/svntogit/pack … b454720f1d
Offline
This is now fixed in 2.6.16-3 which was released yesterday. (it was indeed related to old version of guile being used in PKGBUILD)
Apparently not many reported the error as "ERRORs/WARNINGs", as errors gets logged in background under GUI (and not seen)
Errors can be seen only when you run gnucash via some terminal.
May be OP can mark it as solved?
Offline
Pages: 1