[Libguestfs] IRC question about error while loading shared libraries: libgcrypt.so.20

Richard W.M. Jones rjones at redhat.com
Sun Sep 4 16:23:40 UTC 2022


Ran libguestfs-test-tool and got lots of output, the pertinent line
being:

15:55 < Scamdotnet> guestfsd: error while loading shared libraries: libgcrypt.so.20: cannot open shared object file: No such file or directory

(https://pastebin.com/9PgqEPuq)

16:17 < rwmjones> Scamdotnet: ok I see what's happening, libgcrypt has changed SONAME since libguestfs was built
16:17 < rwmjones> the only long term solution is to rebuild the package
16:17 < rwmjones> in the short term you could try this:
16:17 < rwmjones> echo '/usr/lib64/libgcrypt.so*' > /usr/lib64/supermin.d/guestfs/zz-libgcrypt
16:18 < rwmjones> (maybe replace /usr/lib64 with /usr/lib depending on distro)
16:18 < rwmjones> this is suse?
16:18 < rwmjones> anyway get the distro to rebuild the libguestfs package to fix the long term problem
16:19 < rwmjones> https://libguestfs.org/supermin.1.html#SUPERMIN-APPLIANCES explains more

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
nbdkit - Flexible, fast NBD server with plugins
https://gitlab.com/nbdkit/nbdkit


More information about the Libguestfs mailing list