<div dir="ltr">hi<div><br></div><div>thanks for your information. i installed libvirt 1.1.2 as per your suggestion.</div><div><br></div><div>Installation commands are as follows:</div><div><br></div><div><div>./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --with-xen=yes --with-libxl=yes</div>
</div><div>make <br></div><div>make install</div><div><br></div><div>now i am getting the following error:</div><div><br></div><div><div>virsh # list</div><div>error: failed to connect to the hypervisor</div><div>error: no valid connection</div>
<div>error: Failed to connect socket to '/usr/local/var/run/libvirt/libvirt-sock': No such file or directory</div></div><div><br></div><div>Guide me to solve this errror.</div><div><br></div><div>thanks & regards,</div>
<div>cooldharma06.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Sep 27, 2013 at 5:35 PM, Eric Blake <span dir="ltr"><<a href="mailto:eblake@redhat.com" target="_blank">eblake@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 09/27/2013 05:47 AM, cooldharma06 wrote:<br>
> hi<br>
><br>
> i am installing libvirt-0.9.12.<br>
><br>
> i am getting following error:<br>
><br>
> libvirtd: /usr/local/lib/libvirt.so.0: version `LIBVIRT_PRIVATE_0.9.12' not<br>
> found (required by libvirtd)<br>
><br>
><br>
> how to solve this one. i am installing from my repositary itself. the same<br>
> package is working fine for my friend.<br>
><br>
> suggest me some solutions. i googled but i have not get any related stuffs.<br>
<br>
</div></div>What options did you pass to configure, and do you already have a distro<br>
build installed?  Usually, .so mismatches occur because you are<br>
installing your self-built package into slightly different locations<br>
than the distro build, at which point you have a mismatch between<br>
hard-coded paths that the binaries are trying to look up in relation to<br>
what binaries actually exist.<br>
<br>
If you are going to self-build, it is often best to either install into<br>
the exact same locations as your distro (set your ./configure flags to<br>
match what the distro does; './autogen.sh --system' does this for at<br>
least Fedora systems when building from git), or to uninstall your<br>
distro version before installing yours (to ensure that the only binaries<br>
on your path are your self-built ones, and can thus find all the<br>
prerequisite files without being confused by older ones in alternate<br>
locations from your distro).<br>
<br>
Furthermore, why limit yourself to 0.9.12?  Why not use the latest 1.1.2?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Eric Blake   eblake redhat com    <a href="tel:%2B1-919-301-3266" value="+19193013266">+1-919-301-3266</a><br>
Libvirt virtualization library <a href="http://libvirt.org" target="_blank">http://libvirt.org</a><br>
<br>
</font></span></blockquote></div><br></div>