<div dir="ltr"><div>Hi,</div><div><div>I have installed Libvirt 7.1.0.</div><div>I configured and built libvirt based on instructions from</div><div><a href="https://libvirt.org/compiling.html" target="_blank">https://libvirt.org/compiling.html</a>.</div><div>Now I developed a client program to create a VM using an XML file.As the API for it is <b>virDomainCreateXML,</b> called this API by passing XML file .It shows the following error.<br></div><div><span style="font-family:comic sans ms,sans-serif"><font size="2">undefined reference to `virDomainCreateXML'.</font></span></div><div>I included the header files containing the said API declaration.But need to include the library also.<br></div><div>My question is where do the libvirt library located after building it.</div><div>Thanks for the help in advance.<br></div></div></div>