Kashyap Chamarthy
2014-Jan-27 05:36 UTC
[Libguestfs] [virt-builder] symbol lookup error: /lib64/libgnutls.so.28 - undefined symbol: nettle_secp_256r1
Running virt-builder in a guest Fedora-20 guest hypervisor w/ Rawhide Kernel, throws the below: $ virt-builder fedora-20 --format qcow2 --size 20G virt-builder: symbol lookup error: /lib64/libgnutls.so.28: undefined symbol: nettle_secp_256r1 Version on L1 (guest hypervisor) -------------------------------- $ uname -r; rpm -q libvirt-daemon-kvm qemu-system-x86 \ libguestfs gnutls 3.14.0-0.rc0.git9.1.fc21.x86_64 libvirt-daemon-kvm-1.2.1-1.fc21.x86_64 qemu-system-x86-1.7.0-4.fc21.x86_64 libguestfs-1.25.29-1.fc21.x86_64 gnutls-3.2.8-1.fc21.x86_64 And, that's the latest gnutls available on Fedora Rawhide: $ koji latest-build rawhide gnutls | awk '{print $1}' Build ---------------------------------------- gnutls-3.2.8-1.fc21 Version on L0 (Bare metal) -------------------------- $ uname -r; rpm -q libvirt-daemon-kvm qemu-system-x86 \ libguestfs 3.12.8-300.fc20.x86_64 libvirt-daemon-kvm-1.2.1-1.fc21.x86_64 qemu-system-x86-1.7.0-4.fc21.x86_64 libguestfs-1.25.29-1.fc21.x86_64 -- /kashyap
Kashyap Chamarthy
2014-Jan-27 06:04 UTC
Re: [Libguestfs] [virt-builder] symbol lookup error: /lib64/libgnutls.so.28 - undefined symbol: nettle_secp_256r1
On 01/27/2014 11:06 AM, Kashyap Chamarthy wrote:> Running virt-builder in a guest Fedora-20 guest hypervisor w/ Rawhide > Kernel, throws the below: > > $ virt-builder fedora-20 --format qcow2 --size 20G > virt-builder: symbol lookup error: /lib64/libgnutls.so.28: undefined > symbol: nettle_secp_256r1 > > > Version on L1 (guest hypervisor) > -------------------------------- > > $ uname -r; rpm -q libvirt-daemon-kvm qemu-system-x86 \ > libguestfs gnutls > 3.14.0-0.rc0.git9.1.fc21.x86_64 > libvirt-daemon-kvm-1.2.1-1.fc21.x86_64 > qemu-system-x86-1.7.0-4.fc21.x86_64 > libguestfs-1.25.29-1.fc21.x86_64 > gnutls-3.2.8-1.fc21.x86_64 > > > And, that's the latest gnutls available on Fedora Rawhide: > > $ koji latest-build rawhide gnutls | awk '{print $1}' > Build > ---------------------------------------- > gnutls-3.2.8-1.fc21 > > > Version on L0 (Bare metal) > -------------------------- > > $ uname -r; rpm -q libvirt-daemon-kvm qemu-system-x86 \ > libguestfs > 3.12.8-300.fc20.x86_64 > libvirt-daemon-kvm-1.2.1-1.fc21.x86_64 > qemu-system-x86-1.7.0-4.fc21.x86_64 > libguestfs-1.25.29-1.fc21.x86_64I should note that the very guest (L1) I was trying to run virt-builder on, was created using virt-builder on L0. Only difference I see -- L0 is running F20 Kernel - 3.12.8-300.fc20.x86_64, while L1 is running the latest (3.14.0-0.rc0.git9.1.fc21) from current Rawhide. -- /kashyap
Kashyap Chamarthy
2014-Jan-27 06:28 UTC
Re: [Libguestfs] [virt-builder] symbol lookup error: /lib64/libgnutls.so.28 - undefined symbol: nettle_secp_256r1
On 01/27/2014 11:34 AM, Kashyap Chamarthy wrote:> On 01/27/2014 11:06 AM, Kashyap Chamarthy wrote: >> Running virt-builder in a guest Fedora-20 guest hypervisor w/ Rawhide >> Kernel, throws the below: >> >> $ virt-builder fedora-20 --format qcow2 --size 20G >> virt-builder: symbol lookup error: /lib64/libgnutls.so.28: undefined >> symbol: nettle_secp_256r1 >> >> >> Version on L1 (guest hypervisor) >> -------------------------------- >> >> $ uname -r; rpm -q libvirt-daemon-kvm qemu-system-x86 \ >> libguestfs gnutls >> 3.14.0-0.rc0.git9.1.fc21.x86_64 >> libvirt-daemon-kvm-1.2.1-1.fc21.x86_64 >> qemu-system-x86-1.7.0-4.fc21.x86_64 >> libguestfs-1.25.29-1.fc21.x86_64 >> gnutls-3.2.8-1.fc21.x86_64 >> >> >> And, that's the latest gnutls available on Fedora Rawhide: >> >> $ koji latest-build rawhide gnutls | awk '{print $1}' >> Build >> ---------------------------------------- >> gnutls-3.2.8-1.fc21 >> >> >> Version on L0 (Bare metal) >> -------------------------- >> >> $ uname -r; rpm -q libvirt-daemon-kvm qemu-system-x86 \ >> libguestfs >> 3.12.8-300.fc20.x86_64 >> libvirt-daemon-kvm-1.2.1-1.fc21.x86_64 >> qemu-system-x86-1.7.0-4.fc21.x86_64 >> libguestfs-1.25.29-1.fc21.x86_64 > > I should note that the very guest (L1) I was trying to run virt-builder > on, was created using virt-builder on L0. Only difference I see -- L0 is > running F20 Kernel - 3.12.8-300.fc20.x86_64, while L1 is running the > latest (3.14.0-0.rc0.git9.1.fc21) from current Rawhide.Ok, w/ L0 & L1 both at 3.12.8-300.fc20.x86_64, I still see the same undefined -- undefined symbol: nettle_secp_256r1 I could independently confirm this by running virt-install on L1: [. . .] Traceback (most recent call last): File "/usr/share/virt-manager/virt-install", line 31, in <module> import libvirt File "/usr/lib64/python2.7/site-packages/libvirt.py", line 28, in <module> raise lib_e ImportError: /lib64/libgnutls.so.28: undefined symbol: nettle_secp_256r1 [. . .] I wonder, is this probably because, I'm mixing versions? Version ------- $ rpm -q virt-install virt-install-0.10.0-5.git1ffcc0cc.fc21.noarch -- /kashyap
Pino Toscano
2014-Jan-27 09:27 UTC
Re: [Libguestfs] [virt-builder] symbol lookup error: /lib64/libgnutls.so.28 - undefined symbol: nettle_secp_256r1
On Monday 27 January 2014 11:06:14 Kashyap Chamarthy wrote:> Running virt-builder in a guest Fedora-20 guest hypervisor w/ Rawhide > Kernel, throws the below: > > $ virt-builder fedora-20 --format qcow2 --size 20G > virt-builder: symbol lookup error: /lib64/libgnutls.so.28: undefined > symbol: nettle_secp_256r1A couple of ideas: 1) libgnutls has been upgraded and it uses newer symbols from libnettle without a proper versioned dependency on it 2) libnettle has been upgraded, removing symbols used by libgnutls (that would be an ABI break) So either there was an ABI break, or there's a too low dependency in those two packages. -- Pino Toscano
Richard W.M. Jones
2014-Jan-27 09:40 UTC
Re: [Libguestfs] [virt-builder] symbol lookup error: /lib64/libgnutls.so.28 - undefined symbol: nettle_secp_256r1
On Mon, Jan 27, 2014 at 10:27:20AM +0100, Pino Toscano wrote:> On Monday 27 January 2014 11:06:14 Kashyap Chamarthy wrote: > > Running virt-builder in a guest Fedora-20 guest hypervisor w/ Rawhide > > Kernel, throws the below: > > > > $ virt-builder fedora-20 --format qcow2 --size 20G > > virt-builder: symbol lookup error: /lib64/libgnutls.so.28: undefined > > symbol: nettle_secp_256r1 > > A couple of ideas: > 1) libgnutls has been upgraded and it uses newer symbols from libnettle > without a proper versioned dependency on it > 2) libnettle has been upgraded, removing symbols used by libgnutls (that > would be an ABI break) > > So either there was an ABI break, or there's a too low dependency in > those two packages.This would be my guess too. I'll see if I can reproduce this in Rawhide ... Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://people.redhat.com/~rjones/virt-df/
Apparently Analagous Threads
- [virt-builder] symbol lookup error: /lib64/libgnutls.so.28 - undefined symbol: nettle_secp_256r1
- Re: [virt-builder] symbol lookup error: /lib64/libgnutls.so.28 - undefined symbol: nettle_secp_256r1
- Re: [virt-builder] symbol lookup error: /lib64/libgnutls.so.28 - undefined symbol: nettle_secp_256r1
- How to compile gnutls to samba-4.12.3
- Compile gnutls yo install samba-4.12.3