Skip to contentSkip to conversation

qemu-img from qemu-4.2.0 load the wrong nettle dependency

DISCUSSION shiftag 1 participant 1 message Apr 20, 2020

lore
Share & tools
lore

shiftag

author
#0 lore raw

Hi,

I built qemu-4.2.0 from source in order to link it with my system libnettle library. Below some information :

$ pkg-config --modversion nettle
3.5.1
$ find /usr -name 'libnettle*' -type f
/usr/lib64/libnettle.so.7.0

When executing qemu-img, I have the following error :

$ qemu-img
qemu-img: error while loading shared libraries: libnettle.so.6: cannot
open shared object file: No such file or directory

So it look like qemu-img was not built using my system libnettle.

An idea about how to fix this ?