NUMA node - Memory Only
Milan Zamazal
mzamazal at redhat.com
Wed Aug 10 07:31:53 UTC 2022
Michal Prívozník <mprivozn at redhat.com> writes:
> On 8/9/22 12:55, Jin Huang wrote:
>> Hi, everyone
>> I built the libvirt 8.6.0 on my Ubuntu 20 system with the options like this:
>
>> meson build -Dsystem=true -Ddriver_interface=enabled
>> -Ddriver_libvirtd=enabled -Ddriver_network=enabled -Ddriver_qemu=enabled
>> -Ddriver_remote=enabled -Dnumactl=enabled -Dnumad=enabled
>> -Dstorage_disk=enabled
>>
>> (1)After installation, when I tried to start the libvirtd, I get this
>> error message:
>> error : virNetworkObjAssignDefLocked:576 : operation failed: network
>> 'default' already exists with uuid 7477a9f5-02d3-4fbc-b0e8-d7229d39a6a2
>>
>> (2)When try the virsh command, I get this error message:
>> virsh: /lib/x86_64-linux-gnu/libvirt-qemu.so.0: version
>> `LIBVIRT_QEMU_8.2.0' not found (required by virsh)
>> virsh: /lib/x86_64-linux-gnu/libvirt.so.0: version `LIBVIRT_8.0.0' not
>> found (required by virsh)
>> virsh: /lib/x86_64-linux-gnu/libvirt.so.0: version `LIBVIRT_8.5.0' not
>> found (required by virsh)
>> virsh: /lib/x86_64-linux-gnu/libvirt.so.0: version `LIBVIRT_6.10.0' not
>> found (required by virsh)
>> virsh: /lib/x86_64-linux-gnu/libvirt.so.0: version `LIBVIRT_7.7.0' not
>> found (required by virsh)
>> virsh: /lib/x86_64-linux-gnu/libvirt.so.0: version `LIBVIRT_7.8.0' not
>> found (required by virsh)
>> virsh: /lib/x86_64-linux-gnu/libvirt.so.0: version `LIBVIRT_7.2.0' not
>> found (required by virsh)
>> virsh: /lib/x86_64-linux-gnu/libvirt.so.0: version `LIBVIRT_7.1.0' not
>> found (required by virsh)
>> virsh: /lib/x86_64-linux-gnu/libvirt.so.0: version `LIBVIRT_7.3.0' not
>> found (required by virsh)
>> virsh: /lib/x86_64-linux-gnu/libvirt.so.0: version
>> `LIBVIRT_PRIVATE_8.6.0' not found (required by virsh)
>>
>> Could anyone give me some suggestions to fix these issues?
>
> This is pretty much expected if you had libvirt installed from your
> package manager (which I believe is the case because of the network
> error). I don't know what the correct way to build a .deb package is,
The easiest way is to use a package from a newer Ubuntu version. I'd
suggest using the oldest good enough version available to avoid problems
with dependencies. You may still be forced to use a newer libc or so.
In such a case, you can either configure your system (in /etc/apt/) to
use some packages from a newer Ubuntu version, or to rebuild the newer
libvirt package using instructions from
https://wiki.debian.org/BuildingTutorial#The_packaging_workflow
> but on rpm based distros I usually build a .tar.xz (meson dist) from
> which I build a .rpm (rpmbuild -ta) and then install it.
>
> Michal
More information about the libvirt-users
mailing list