一个qemu-kvm的问题:libspice.so.0

今天配置环境时遇到了一个qemu-kvm的问题,具体如下:

libvirt: can't write version number in ''

大体如此。网上查了一下:

 

The QEMU code in libvirt runs the command
  /usr/libexec/qemu-kvm -help
to parse the QEMU version number.

However, /usr/libexec/qemu-kvm does not run because of a missing library:
# /usr/libexec/qemu-kvm -help
/usr/libexec/qemu-kvm: error while loading shared libraries:libspice.so.0: cannot open shared object file: No such file or directory
# ldd /usr/libexec/qemu-kvm | grep libspice
    libspice.so.0 => not found
Installing the missing library (provided by qspice-libs) solves the problem:
# yum install -y qspice-libs
...
# rpm -q qspice-libs
qspice-libs-0.3.0-39.el5_4.3

原来是qspice-libs没有装。

你可能感兴趣的:(qemu)