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