[libvirt] Error while running event-test.c in Libvirt package

Martin Kletzander mkletzan at redhat.com
Mon Feb 24 12:29:13 UTC 2014


On Mon, Feb 24, 2014 at 05:33:31PM +0530, Avanti Ajay wrote:
> Hello,
>
> I am trying to run event-test.c code available in libvirt-0.10.2 package
> under the folder
>   /examples/domain-events/events-c.
>
> I am getting the following error
>
> /usr/bin/ld: cannot find -lvirt
> collect2: ld returned 1 exit status
>

Do you have libvirt-devel package installed?

Martin

>
> Please help me to solve this issue.

> --
> libvir-list mailing list
> libvir-list at redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140224/154a8010/attachment-0001.sig>


More information about the libvir-list mailing list