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

Derek Atkins derek at ihtfp.com
Thu Jan 25 11:46:40 EST 2024


Correct, it would say something like that.
Now, it could be that there is a sub-library missing.  I.e. this library
looks for libfoo.so (which it finds), but libfoo.so depends on libbar.so,
and THAT is missing.  ldd would not show that.

So, question for you:  did you do a full system update, or did you JUST
update the gnucash packages?  I only ask because I am running F38 and I
have GnuCash 5.5 running just fine.

-derek

On Thu, January 25, 2024 11:33 am, John Haiducek wrote:
> Here's the output from ldd. IIRC, missing dependencies would show up here
> as something like "=> Not found". It looks like everything here points to
> a
> specific file.
>
> $ ldd /usr/lib64/gnucash/libgnc-expressions-guile.so
> linux-vdso.so.1 (0x00007ffe3cf5a000)
> libgnc-expressions.so => /usr/lib64/gnucash/libgnc-expressions.so
> (0x00007ff5df86a000)
> libguile-3.0.so.1 => /lib64/libguile-3.0.so.1 (0x00007ff5df6e3000)
> libgnc-engine.so => /usr/lib64/gnucash/libgnc-engine.so
> (0x00007ff5df200000)
> libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x00007ff5df59a000)
> libc.so.6 => /lib64/libc.so.6 (0x00007ff5df022000)
> libgnucash-guile.so => /usr/lib64/gnucash/libgnucash-guile.so
> (0x00007ff5def0a000)
> libgnc-app-utils.so => /usr/lib64/gnucash/libgnc-app-utils.so
> (0x00007ff5df504000)
> libgobject-2.0.so.0 => /lib64/libgobject-2.0.so.0 (0x00007ff5deeaa000)
> libgnc-core-utils.so => /usr/lib64/gnucash/libgnc-core-utils.so
> (0x00007ff5dee6e000)
> libgc.so.1 => /lib64/libgc.so.1 (0x00007ff5ded2c000)
> libffi.so.8 => /lib64/libffi.so.8 (0x00007ff5df4f8000)
> libunistring.so.2 => /lib64/libunistring.so.2 (0x00007ff5deb7e000)
> libgmp.so.10 => /lib64/libgmp.so.10 (0x00007ff5dead9000)
> libcrypt.so.2 => /lib64/libcrypt.so.2 (0x00007ff5deaa0000)
> libm.so.6 => /lib64/libm.so.6 (0x00007ff5de9bf000)
> /lib64/ld-linux-x86-64.so.2 (0x00007ff5df88a000)
> libicui18n.so.72 => /lib64/libicui18n.so.72 (0x00007ff5de600000)
> libicuuc.so.72 => /lib64/libicuuc.so.72 (0x00007ff5de200000)
> libgmodule-2.0.so.0 => /lib64/libgmodule-2.0.so.0 (0x00007ff5df4ed000)
> libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007ff5dde00000)
> libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007ff5de99b000)
> libpcre2-8.so.0 => /lib64/libpcre2-8.so.0 (0x00007ff5de566000)
> libgio-2.0.so.0 => /lib64/libgio-2.0.so.0 (0x00007ff5ddc2d000)
> libboost_filesystem.so.1.78.0 => /lib64/libboost_filesystem.so.1.78.0
> (0x00007ff5de979000)
> libboost_locale.so.1.78.0 => /lib64/libboost_locale.so.1.78.0
> (0x00007ff5de4c4000)
> libicudata.so.72 => /lib64/libicudata.so.72 (0x00007ff5dbe00000)
> libz.so.1 => /lib64/libz.so.1 (0x00007ff5de95f000)
> libmount.so.1 => /lib64/libmount.so.1 (0x00007ff5de47e000)
> libselinux.so.1 => /lib64/libselinux.so.1 (0x00007ff5de451000)
> libboost_atomic.so.1.78.0 => /lib64/libboost_atomic.so.1.78.0
> (0x00007ff5de955000)
> libboost_system.so.1.78.0 => /lib64/libboost_system.so.1.78.0
> (0x00007ff5de950000)
> libboost_thread.so.1.78.0 => /lib64/libboost_thread.so.1.78.0
> (0x00007ff5de431000)
> libboost_chrono.so.1.78.0 => /lib64/libboost_chrono.so.1.78.0
> (0x00007ff5de945000)
> libblkid.so.1 => /lib64/libblkid.so.1 (0x00007ff5de1c8000)
>
> On Thu, Jan 25, 2024 at 11:15 AM Derek Atkins <derek at ihtfp.com> wrote:
>
>> Run:
>>   ldd /usr/lib64/gnucash/libgnc-expressions-guile.so
>>
>> And see if perhaps it is missing a dependency?
>>
>> -derek
>>
>> On Thu, January 25, 2024 11:07 am, John Haiducek wrote:
>> > The file and its parent directory are both world-readable
>> >
>> > On Thu, Jan 25, 2024 at 10:46 AM R Losey <rlosey at gmail.com> wrote:
>> >
>> >> This is probably a silly question, but does the .so file have
>> >> permissions
>> >> that let it be read by your account? And/or what about the
>> >> containing directory?
>> >>
>> >>
>> >> On Thu, Jan 25, 2024 at 9:19 AM John Haiducek <jhaiduce at gmail.com>
>> >> wrote:
>> >>
>> >>> 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?
>> >>> _______________________________________________
>> >>> gnucash-user mailing list
>> >>> gnucash-user at gnucash.org
>> >>> To update your subscription preferences or to unsubscribe:
>> >>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>> >>> -----
>> >>> Please remember to CC this list on all your replies.
>> >>> You can do this by using Reply-To-List or Reply-All.
>> >>>
>> >>
>> >>
>> >> --
>> >> _________________________________
>> >> Richard Losey
>> >> rlosey at gmail.com
>> >> Micah 6:8
>> >>
>> > _______________________________________________
>> > gnucash-user mailing list
>> > gnucash-user at gnucash.org
>> > To update your subscription preferences or to unsubscribe:
>> > https://lists.gnucash.org/mailman/listinfo/gnucash-user
>> > -----
>> > Please remember to CC this list on all your replies.
>> > You can do this by using Reply-To-List or Reply-All.
>> >
>>
>>
>> --
>>        Derek Atkins                 617-623-3745
>>        derek at ihtfp.com             www.ihtfp.com
>>        Computer and Internet Security Consultant
>>
>>
>


-- 
       Derek Atkins                 617-623-3745
       derek at ihtfp.com             www.ihtfp.com
       Computer and Internet Security Consultant



More information about the gnucash-user mailing list