[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Unable to run virsh on bookworm

On 2023-05-09 19:10 +0000, Sean Whalen wrote:

> I've installed virt-manager on a Debian bookworm system, and that is
> working fine. However, when I try to use the libvirt CLI client,
> virsh, I receive this error message:
> virsh: /usr/local/lib/x86_64-linux-gnu/libvirt.so.0: version
> `LIBVIRT_PRIVATE_9.0.0' not found (required by virsh)

Note the '/usr/local/lib/…' path here.  This version of libvirt.so.0 is
most likely older than the one in the libvirt0 package.  Probably at
some time in the past you installed it.

> The Fedora package libvirt-libs
> <https://packages.fedoraproject.org/pkgs/libvirt/libvirt-libs/fedora-38.html>
> 9.0.0 states that it provides
> libvirt.so.0(LIBVIRT_PRIVATE_9.0.0)(64bit), so I'm not sure why the
> Debian package wouldn't be the same way, or why virt-manager works but
> virsh does not.
> I just filed a bug
> <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1035808> (that was
> my time using the Debian bug tracking system). Is anyone aware of a
> workaround for this bug until it is fixed?

You can and you have to fix it yourself, by moving the locally installed
libvirt.so.0 out of the way.


Reply to: