[libvirt-users] Libvirt installion error: You must install the libyajl library & headers to compile libvirt

WANG Cheng D Cheng.d.Wang at alcatel-sbell.com.cn
Wed Jul 2 07:07:15 UTC 2014


Yes, I installed yajl-devel and 4 other rpm packags.,then it works

Thank a lot for your response.

Cheng

-----Original Message-----
From: Martin Kletzander [mailto:mkletzan at redhat.com] 
Sent: 2014年7月1日 17:58
To: WANG Cheng D
Cc: libvirt-users at redhat.com
Subject: Re: [libvirt-users] Libvirt installion error: You must install the libyajl library & headers to compile libvirt

On Tue, Jul 01, 2014 at 07:00:29AM +0000, WANG Cheng D wrote:
>Dear all,
>I am installing the libvirt 1.2.5 on my newly installed Fedora19.
>When I run ./configure, an error is reported: "You must install the libyajl library & headers to compile libvirt"
>In fact, the package yajl-2.0.4-2fc19.x86_64.rpm has been installed on the fedora19.
>I found several links talking about this error and I downloaded 3 files (configure.ac, m4/virt-yajl.m4, src/qemu/qemu_capabilities.c) from the link given by Daniel Berrange (http://libvirt.org/git/?p=libvirt.git;a=commit;h=654c709baaa6fdcff6b6d38abb0b3c95188c0805) , but it does not work.
>
>Am I missing something?
>

For development you probably need yajl-devel or yajl-libs or whatever's the name.  Easiest way to get most of the needed development packages you need is to run "yum-builddep libvirt".

Martin




More information about the libvirt-users mailing list