[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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 redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]