[GNC] No such file or directory error finding libgnc-expressions-guile.so

John Haiducek jhaiduce at gmail.com
Thu Jan 25 10:19:02 EST 2024


After upgrading to gnucash 5.5 on Fedora 38 (using the rpm package for
gnucash from the Fedora repos), I get the following error trying to start
gnucash:

$ gnucash
Backtrace:
In ice-9/boot-9.scm:
  3536:20 19 (_)
   2835:4 18 (save-module-excursion #<procedure 7fb1618d6930 at ice-…>)
  3556:26 17 (_)
In unknown file:
          16 (primitive-load-path "gnucash/report/html-utilities" #<…>)
In html-utilities.scm:
     32:0 15 (_)
In ice-9/boot-9.scm:
  3927:20 14 (process-use-modules _)
   222:17 13 (map1 (((gnucash report report-core))))
  3928:31 12 (_ ((gnucash report report-core)))
  3326:17 11 (resolve-interface (gnucash report report-core) #:select …)
In ice-9/threads.scm:
    390:8 10 (_ _)
In ice-9/boot-9.scm:
  3252:13  9 (_)
In ice-9/threads.scm:
    390:8  8 (_ _)
In ice-9/boot-9.scm:
  3536:20  7 (_)
   2835:4  6 (save-module-excursion #<procedure 7fb1618d6810 at ice-…>)
  3556:26  5 (_)
In unknown file:
           4 (primitive-load-path "gnucash/report/report-core" #<pro…>)
In report-core.scm:
     26:2  3 (_)
In unknown file:
           2 (load-extension "libgnc-expressions-guile" "scm_init_sw…")
In system/foreign-library.scm:
   190:25  1 (load-foreign-library _ #:extensions _ # _ #:search-path …)
In unknown file:
           0 (dlopen "libgnc-expressions-guile.so" 1)

ERROR: In procedure dlopen:
In procedure dlopen: file "libgnc-expressions-guile.so", message
"libgnc-expressions-guile.so: cannot open shared object file: No such file
or directory"

I can confirm that /usr/lib64/gnucash/libgnc-expressions-guile.so exists.
Obviously this looks like a bug, but I'm not sure if it's a gnucash bug or
a packaging problem on the Fedora side. Can anyone help me figure out which
it is? Any possible workarounds to try?


More information about the gnucash-user mailing list