[libvirt-users] Failed dependencies with perl-Sys-Virt

Hi, erveryone: I compiled libvirt-1.1.2.tar.gz from source. my compile step: ./configure --prefix=/usr --libdir=/usr/lib64 --without-xen --without-xen-inotify \ --without-uml --without-openvz --without-vmware --without-vbox --without-lxc \ --without-esx --without-parallels --without-phyp -- without-test --with-yajl \ --without-selinux --without-secdriver-selinux make && make install #ls -l /usr/lib64/libvirt* -rw-r--r-- 1 root root 10144610 2月 6 15:34 /usr/lib64/libvirt.a -rwxr-xr-x 1 root root 1018 5月 8 19:51 /usr/lib64/libvirt.la -rwxr-xr-x 1 root root 1064 5月 8 19:51 /usr/lib64/libvirt-lxc.la lrwxrwxrwx 1 root root 23 5月 8 19:51 /usr/lib64/libvirt-lxc.so -> libvirt-lxc.so.0.1001.2 lrwxrwxrwx 1 root root 23 5月 8 19:51 /usr/lib64/libvirt-lxc.so.0 -> libvirt-lxc.so.0.1001.2 -rwxr-xr-x 1 root root 75419 5月 8 19:51 /usr/lib64/libvirt-lxc.so.0.1001.2 -rw-r--r-- 1 root root 78856 2月 6 15:34 /usr/lib64/libvirt-qemu.a -rwxr-xr-x 1 root root 1070 5月 8 19:51 /usr/lib64/libvirt-qemu.la lrwxrwxrwx 1 root root 24 5月 8 20:31 /usr/lib64/libvirt-qemu.so -> libvirt-qemu.so.0.1001.2 lrwxrwxrwx 1 root root 24 5月 8 20:31 /usr/lib64/libvirt-qemu.so.0 -> libvirt-qemu.so.0.1001.2 -rwxr-xr-x 1 root root 74097 5月 8 19:51 /usr/lib64/libvirt-qemu.so.0.1001.2 lrwxrwxrwx 1 root root 19 5月 8 20:31 /usr/lib64/libvirt.so -> libvirt.so.0.1001.2 lrwxrwxrwx 1 root root 19 5月 8 20:31 /usr/lib64/libvirt.so.0 -> libvirt.so.0.1001.2 -rwxr-xr-x 1 root root 8100016 5月 8 19:51 /usr/lib64/libvirt.so.0.1001.2 everyone seems ok, but when I install perl-Sys-Virt-0.10.2-5.el6.x86_64.rpm with rpm -ivh, it occured error message: error: Failed dependencies: libvirt.so.0()(64bit) is needed by perl-Sys-Virt-0.10.2-5.el6.x86_64 libvirt.so.0(LIBVIRT_0.0.3)(64bit) is needed by perl-Sys-Virt-0.10.2-5.el6.x86_64 libvirt.so.0(LIBVIRT_0.0.5)(64bit) is needed by perl-Sys-Virt-0.10.2-5.el6.x86_64 libvirt.so.0(LIBVIRT_0.1.0)(64bit) is needed by perl-Sys-Virt-0.10.2-5.el6.x86_64 libvirt.so.0(LIBVIRT_0.1.1)(64bit) is needed by perl-Sys-Virt-0.10.2-5.el6.x86_64 libvirt.so.0(LIBVIRT_0.1.4)(64bit) is needed by perl-Sys-Virt-0.10.2-5.el6.x86_64 libvirt.so.0(LIBVIRT_0.1.5)(64bit) is needed by perl-Sys-Virt-0.10.2-5.el6.x86_64 libvirt.so.0(LIBVIRT_0.1.9)(64bit) is needed by perl-Sys-Virt-0.10.2-5.el6.x86_64 libvirt.so.0(LIBVIRT_0.10.0)(64bit) is needed by perl-Sys-Virt-0.10.2-5.el6.x86_64 libvirt.so.0(LIBVIRT_0.10.2)(64bit) is needed by perl-Sys-Virt-0.10.2-5.el6.x86_64 ... I checked with the follow command. [root@CH08134252 ~]# nm -A -D /usr/lib64/libvirt.so.0 | grep LIBVIRT /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.0.3 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.0.5 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.1.0 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.1.1 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.1.4 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.1.5 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.1.9 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.10.0 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.10.2 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.2.0 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.2.1 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.2.3 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.3.0 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.3.2 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.3.3 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.4.0 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.4.1 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.4.2 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.4.5 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.5.0 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.6.0 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.6.1 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.6.3 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.6.4 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.7.0 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.7.1 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.7.2 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.7.3 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.7.5 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.7.7 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.8.0 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.8.1 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.8.2 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.8.5 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.8.6 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.8.8 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.9.0 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.9.10 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.9.11 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.9.13 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.9.2 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.9.3 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.9.4 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.9.5 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.9.7 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.9.8 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_0.9.9 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_1.0.0 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_1.0.1 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_1.0.2 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_1.0.3 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_1.0.5 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_1.0.6 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_1.1.0 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_1.1.1 /usr/lib64/libvirt.so.0:0000000000000000 A LIBVIRT_PRIVATE_1.1.2 I have no idea, please give me some help. thanks. xuanmao_001

On Fri, May 08, 2015 at 08:48:27PM +0800, xuanmao_001 wrote:
Hi, erveryone: I compiled libvirt-1.1.2.tar.gz from source. my compile step: ./configure --prefix=/usr --libdir=/usr/lib64 --without-xen --without-xen-inotify \ --without-uml --without-openvz --without-vmware --without-vbox --without-lxc \ --without-esx --without-parallels --without-phyp -- without-test --with-yajl \ --without-selinux --without-secdriver-selinux
make && make install
#ls -l /usr/lib64/libvirt* -rw-r--r-- 1 root root 10144610 2月 6 15:34 /usr/lib64/libvirt.a -rwxr-xr-x 1 root root 1018 5月 8 19:51 /usr/lib64/libvirt.la -rwxr-xr-x 1 root root 1064 5月 8 19:51 /usr/lib64/libvirt-lxc.la lrwxrwxrwx 1 root root 23 5月 8 19:51 /usr/lib64/libvirt-lxc.so -> libvirt-lxc.so.0.1001.2 lrwxrwxrwx 1 root root 23 5月 8 19:51 /usr/lib64/libvirt-lxc.so.0 -> libvirt-lxc.so.0.1001.2 -rwxr-xr-x 1 root root 75419 5月 8 19:51 /usr/lib64/libvirt-lxc.so.0.1001.2 -rw-r--r-- 1 root root 78856 2月 6 15:34 /usr/lib64/libvirt-qemu.a -rwxr-xr-x 1 root root 1070 5月 8 19:51 /usr/lib64/libvirt-qemu.la lrwxrwxrwx 1 root root 24 5月 8 20:31 /usr/lib64/libvirt-qemu.so -> libvirt-qemu.so.0.1001.2 lrwxrwxrwx 1 root root 24 5月 8 20:31 /usr/lib64/libvirt-qemu.so.0 -> libvirt-qemu.so.0.1001.2 -rwxr-xr-x 1 root root 74097 5月 8 19:51 /usr/lib64/libvirt-qemu.so.0.1001.2 lrwxrwxrwx 1 root root 19 5月 8 20:31 /usr/lib64/libvirt.so -> libvirt.so.0.1001.2 lrwxrwxrwx 1 root root 19 5月 8 20:31 /usr/lib64/libvirt.so.0 -> libvirt.so.0.1001.2 -rwxr-xr-x 1 root root 8100016 5月 8 19:51 /usr/lib64/libvirt.so.0.1001.2
everyone seems ok, but when I install perl-Sys-Virt-0.10.2-5.el6.x86_64.rpm with rpm -ivh, it occured error message: error: Failed dependencies: libvirt.so.0()(64bit) is needed by perl-Sys-Virt-0.10.2-5.el6.x86_64 libvirt.so.0(LIBVIRT_0.0.3)(64bit) is needed by perl-Sys-Virt-0.10.2-5.el6.x86_64 libvirt.so.0(LIBVIRT_0.0.5)(64bit) is needed by perl-Sys-Virt-0.10.2-5.el6.x86_64 libvirt.so.0(LIBVIRT_0.1.0)(64bit) is needed by perl-Sys-Virt-0.10.2-5.el6.x86_64 libvirt.so.0(LIBVIRT_0.1.1)(64bit) is needed by perl-Sys-Virt-0.10.2-5.el6.x86_64 libvirt.so.0(LIBVIRT_0.1.4)(64bit) is needed by perl-Sys-Virt-0.10.2-5.el6.x86_64 libvirt.so.0(LIBVIRT_0.1.5)(64bit) is needed by perl-Sys-Virt-0.10.2-5.el6.x86_64 libvirt.so.0(LIBVIRT_0.1.9)(64bit) is needed by perl-Sys-Virt-0.10.2-5.el6.x86_64 libvirt.so.0(LIBVIRT_0.10.0)(64bit) is needed by perl-Sys-Virt-0.10.2-5.el6.x86_64 libvirt.so.0(LIBVIRT_0.10.2)(64bit) is needed by perl-Sys-Virt-0.10.2-5.el6.x86_64
If you install libvirt from source, you cannot then install things that depend on libvirt from RPMs. You must either build everything from source or uses RPMs for everything. Mixing & matching will result in unsatisfied dependancies as you illustrate here Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|

thanks for reply. xuanmao_001 From: Daniel P. Berrange Date: 2015-05-08 20:56 To: xuanmao_001 CC: libvirt-users Subject: Re: [libvirt-users] Failed dependencies with perl-Sys-Virt On Fri, May 08, 2015 at 08:48:27PM +0800, xuanmao_001 wrote:
Hi, erveryone: I compiled libvirt-1.1.2.tar.gz from source. my compile step: ./configure --prefix=/usr --libdir=/usr/lib64 --without-xen --without-xen-inotify \ --without-uml --without-openvz --without-vmware --without-vbox --without-lxc \ --without-esx --without-parallels --without-phyp -- without-test --with-yajl \ --without-selinux --without-secdriver-selinux
make && make install
#ls -l /usr/lib64/libvirt* -rw-r--r-- 1 root root 10144610 2月 6 15:34 /usr/lib64/libvirt.a -rwxr-xr-x 1 root root 1018 5月 8 19:51 /usr/lib64/libvirt.la -rwxr-xr-x 1 root root 1064 5月 8 19:51 /usr/lib64/libvirt-lxc.la lrwxrwxrwx 1 root root 23 5月 8 19:51 /usr/lib64/libvirt-lxc.so -> libvirt-lxc.so.0.1001.2 lrwxrwxrwx 1 root root 23 5月 8 19:51 /usr/lib64/libvirt-lxc.so.0 -> libvirt-lxc.so.0.1001.2 -rwxr-xr-x 1 root root 75419 5月 8 19:51 /usr/lib64/libvirt-lxc.so.0.1001.2 -rw-r--r-- 1 root root 78856 2月 6 15:34 /usr/lib64/libvirt-qemu.a -rwxr-xr-x 1 root root 1070 5月 8 19:51 /usr/lib64/libvirt-qemu.la lrwxrwxrwx 1 root root 24 5月 8 20:31 /usr/lib64/libvirt-qemu.so -> libvirt-qemu.so.0.1001.2 lrwxrwxrwx 1 root root 24 5月 8 20:31 /usr/lib64/libvirt-qemu.so.0 -> libvirt-qemu.so.0.1001.2 -rwxr-xr-x 1 root root 74097 5月 8 19:51 /usr/lib64/libvirt-qemu.so.0.1001.2 lrwxrwxrwx 1 root root 19 5月 8 20:31 /usr/lib64/libvirt.so -> libvirt.so.0.1001.2 lrwxrwxrwx 1 root root 19 5月 8 20:31 /usr/lib64/libvirt.so.0 -> libvirt.so.0.1001.2 -rwxr-xr-x 1 root root 8100016 5月 8 19:51 /usr/lib64/libvirt.so.0.1001.2
everyone seems ok, but when I install perl-Sys-Virt-0.10.2-5.el6.x86_64.rpm with rpm -ivh, it occured error message: error: Failed dependencies: libvirt.so.0()(64bit) is needed by perl-Sys-Virt-0.10.2-5.el6.x86_64 libvirt.so.0(LIBVIRT_0.0.3)(64bit) is needed by perl-Sys-Virt-0.10.2-5.el6.x86_64 libvirt.so.0(LIBVIRT_0.0.5)(64bit) is needed by perl-Sys-Virt-0.10.2-5.el6.x86_64 libvirt.so.0(LIBVIRT_0.1.0)(64bit) is needed by perl-Sys-Virt-0.10.2-5.el6.x86_64 libvirt.so.0(LIBVIRT_0.1.1)(64bit) is needed by perl-Sys-Virt-0.10.2-5.el6.x86_64 libvirt.so.0(LIBVIRT_0.1.4)(64bit) is needed by perl-Sys-Virt-0.10.2-5.el6.x86_64 libvirt.so.0(LIBVIRT_0.1.5)(64bit) is needed by perl-Sys-Virt-0.10.2-5.el6.x86_64 libvirt.so.0(LIBVIRT_0.1.9)(64bit) is needed by perl-Sys-Virt-0.10.2-5.el6.x86_64 libvirt.so.0(LIBVIRT_0.10.0)(64bit) is needed by perl-Sys-Virt-0.10.2-5.el6.x86_64 libvirt.so.0(LIBVIRT_0.10.2)(64bit) is needed by perl-Sys-Virt-0.10.2-5.el6.x86_64
If you install libvirt from source, you cannot then install things that depend on libvirt from RPMs. You must either build everything from source or uses RPMs for everything. Mixing & matching will result in unsatisfied dependancies as you illustrate here Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
participants (2)
-
Daniel P. Berrange
-
xuanmao_001