<div dir="ltr">Hi All,<div><br></div><div style>I am trying to use libvirt to connect to hypervisor. I need some help with this.</div><div style><br></div><div style>1. I am using mac os - Mountain Lion. </div><div style>2. I have installed libvirt using macports.</div>
<div style>3. I am able to connect to the vcenter server using virsh tool.</div><div style>4. However i am not able to connect using libvirt java program. The issue it seems that virt library cannot be found. (Sample output attached).</div>
<div style><br></div><div style>The question is how do i get libvirt.dylib on my mac. Any pointers would be really helpful</div><div style><br></div><div style>Re,</div><div style>Utpal</div><div style><br></div><div style>
<br></div><div style><br></div><div style><br></div><div style><br></div><div style>







<p class="">Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load library 'virt': Native library (darwin/libvirt.dylib) not found in resource path </p></div></div>