[libvirt] Fwd: Compiling a simple code which include libvirt

Rahul Bansal gtg.bansal at gmail.com
Tue Sep 4 15:23:04 UTC 2012


On 3 September 2012 20:05, Eric Blake <eblake at redhat.com> wrote:

> On 09/03/2012 06:39 AM, Rahul Bansal wrote:
>
> [Please don't top-post on technical lists.]
>
> > I ran 'sudo make install' in /path/to/libvirt. But same error is coming.
> > Maybe following will be helpful:
> > -> I extracted the libvirt.0.10.1 in ~/Downloads
> > -> And I am running the code in ~/Downloads/libvirt-0.10.1
> > -> I ran 'sudo make install' in the above directory.
>
> And what ./configure arguments did you use?  If you didn't supply
> anything in particular, then this installed your copy of libvirt into
> /usr/local/, and depending on your setup, your compiler might not be
> looking into that directory by default.
>
> --
> Eric Blake   eblake at redhat.com    +1-919-301-3266
> Libvirt virtualization library http://libvirt.org


I have been finally able to compile my libvirt code. Actually I reinstalled
libvirt with some change in autobuild.sh
so that it installed libraries in /usr/local.
Thanks all for your valuable help and suggestions.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120904/5f14aa7e/attachment-0001.htm>


More information about the libvir-list mailing list