[libvirt-users] getting an error when installing LIBVIRT.

Eric Blake eblake at redhat.com
Fri Sep 27 12:05:40 UTC 2013


On 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.

What options did you pass to configure, and do you already have a distro
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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20130927/4202fd50/attachment.sig>


More information about the libvirt-users mailing list