[Libguestfs] Erro libguestfs missing shared libraries: libpcre2-8.so.0

Attilio Greco attilio.greco at crazylinux.it
Mon May 23 13:58:56 UTC 2022


Hi,
Problem solved
As you sugested i have check what pakage provide pcre2 in my system, I
found duplicated versione of pcre2.

rpm -q coreutils pcre2
coreutils-8.32-33.fc35.x86_64
--> pcre2-10.37-4.fc35.x86_64
    pcre2-10.39-1.fc35.x86_64

Instantly removed via dnf the oldest.
sudo dnf remove pcre2-10.37-4.fc35

Now is working
libguestfs-test-tool
===== TEST FINISHED OK =====

Working with version:
1.48.1fedora=35,release=1.fc35,libvirt
1.48.2fedora=35,release=2.fc35,libvirt


Thanks for suport.
Regads

Attilio


> On Mon, May 23, 2022 at 10:32:16AM +0200, Attilio Greco wrote:
> > mkdir: error while loading shared libraries: libpcre2-8.so.0:
> > cannot
> > open shared object file: No such file or directory
> 
> This error is weird.  What's the output of:
> 
>   rpm -q coreutils pcre2
>   ldd /usr/bin/mkdir 
>   rpm -qf /lib64/libpcre2-8.so.0
> 
> Rich.
> 



More information about the Libguestfs mailing list