[Dev] Error while loading libffi.so.7

Stef stef at stef.link
Tue Oct 26 23:30:04 GMT 2021


Hi,

I just installed Parabola (manually, with OpenRC) for the first time, 
and I noticed the following similar error message multiple times.  For 
example when running the following programs:

   $ knights
   knights: error while loading shared libraries: libffi.so.7: cannot 
open
   shared object file: No such file or directory

   $ dirmngr
   dirmngr: error while loading shared libraries: libffi.so.7: cannot 
open
   shared object file: No such file or directory

With lddtree, I found that in both cases, libffi.so.7 is depended on by 
libp11-kit.

I think that libffi.so.7 is not provided anymore by libffi, and that 
libp11-kit should instead depend in libffi.so.8.

   $ pacman -Q libp11-kit
   libp11-kit 0.24.0-1.nonsystemd1

   $ lddtree /usr/lib/libp11-kit.so
   /usr/lib/libp11-kit.so (interpreter => None)
       libffi.so.7 => None
       libdl.so.2 => /usr/lib/libdl.so.2
       libpthread.so.0 => /usr/lib/libpthread.so.0
       libc.so.6 => /usr/lib/libc.so.6
       ld-linux-x86-64.so.2 => /usr/lib/ld-linux-x86-64.so.2

This is where I don't know what to do next.  Would a rebuild of 
libp11-kit fix this?  Does libp11-kit need to be updated?  Should I 
report something somewhere?  Did I mess up the installation?


Thanks,

Stef



More information about the Dev mailing list