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

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

 



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

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]