[Libguestfs] [virt-builder] symbol lookup error: /lib64/libgnutls.so.28 - undefined symbol: nettle_secp_256r1

Kashyap Chamarthy kchamart at redhat.com
Mon Jan 27 06:28:30 UTC 2014


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




More information about the Libguestfs mailing list