I have installed Libvirt 7.1.0.
I configured and built libvirt based on instructions from
Now I developed a client program to create a VM using an XML file.As the API for it is virDomainCreateXML, called this API by passing XML file .It shows the following error.
undefined reference to `virDomainCreateXML'.
I included the header files containing the said API declaration.But need to include the library also.
My question is where do the libvirt library located after building it.
Thanks for the help in advance.