[libvirt] libvirt-java, libvirt-client on Centos 6.2

Eric Blake eblake at redhat.com
Tue Aug 28 16:20:23 UTC 2012


On 08/27/2012 01:39 PM, Gautam Sampathkumar wrote:
> Hi All,
>        I've been trying to upgrade our version of libvirt-java to 0.4.8
> since we're now running libvirt 0.10.0 and are running into the following
> dependency problems on our Centos 6.2 machine.
> 
> libvirt-java requires libvirt-client > 0.9.12
> 
> 1. The libvirt-client RPMs all appear to be targeted to Fedora Core system
> and I'm not certain I should be trying to install these RPMs on my CentOS
> box. However, I'm unable to find a source tarball so I can build
> libvirt-client from source.

Libvirt-client is a subpackage; if you take the official tarball and run
'make rpm', that will give the libvirt.srpm which then generates
libvirt-client.rpm among others.

> 
> 2. I did try to install the FC RPM
> libvirt-client-0.10.0-0rc0.fc16.x86_64.rpm and this fails with the error
> libc.so.6(GLIBC_2.14)(64bit) is needed by
> libvirt-client-0.10.0-0rc0.fc16.x86_64
> libc.so.6(GLIBC_2.15)(64bit) is needed by
> libvirt-client-0.10.0-0rc0.fc16.x86_64

Reusing a Fedora rpm on CentOS might work, but you will lose out on some
of the RHEL-specific patches, so all bets are off.  But you already know
that, since CentOS is already an at-your-own-risk when compared to RHEL.

> 3. Not sure why libvirt-java depends on libvirt-client

Because libvirt-java uses libvirt.so, and libvirt-client provides
libvirt.so.

-- 
Eric Blake   eblake at 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: 617 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120828/0cdd53e1/attachment-0001.sig>


More information about the libvir-list mailing list