<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<STYLE>
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
BODY {
        LINE-HEIGHT: 1.5; FONT-FAMILY: 宋体; COLOR: #000080; FONT-SIZE: 10.5pt
}
</STYLE>

<META name=GENERATOR content="MSHTML 8.00.7600.16385"></HEAD>
<BODY style="MARGIN: 10px">
<DIV>thanks for reply.</DIV>
<DIV> </DIV>
<HR style="WIDTH: 210px; HEIGHT: 1px" align=left color=#b5c4df SIZE=1>

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