[Bug 1408692] [NEW] libvirt does not start because libusb_get_port_numbers symbol is undefined

Florian florian.perrodin at distran.ch
Thu Jan 8 16:13:34 UTC 2015


Public bug reported:

When trying to use kvm, in particular creating VM with virt-manager, i
get in the GUI the error message "Error:No hypervisor options were found
for this connection."

When looking into /var/log/libvirt/libvirtd.log, I see
info : libvirt version: 1.2.2
error : virCommandWait:2399 : internal error: Child process (LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin /usr/bin/qemu-system-i386 -help) unexpected exit status 127: /usr/bin/qemu-system-i386: symbol lookup error: /usr/bin/qemu-system-i386: undefined symbol: libusb_get_port_numbers
(see attachment for more details)

when trying to identify the libusb version, I get:

> ls -la $(ldd /usr/bin/qemu-system-x86_64 | grep usb)
lrwxrwxrwx 1 root root 19 May  6  2014 /lib/libusb-1.0.so.0 -> libusb-1.0.so.0.1.0
lrwxrwxrwx 1 root root 26 Jan  3  2014 /usr/lib/x86_64-linux-gnu/libusbredirparser.so.1 -> libusbredirparser.so.1.0.0

>apt-cache policy libusb-1.0-0
libusb-1.0-0:
  Installed: 2:1.0.17-1ubuntu2
  Candidate: 2:1.0.17-1ubuntu2
  Version table:
 *** 2:1.0.17-1ubuntu2 0
        500 http://ch.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status

I got the same with an Ubuntu Server 14.04LTS.
I am using an up-to-date Ubuntu 14.04LTS (desktop).
qemu was installed with
>sudo apt-get install qemu-kvm libvirt-bin bridge-utils virt-manager


details:
>lsb_release -rd
Description:	Ubuntu 14.04.1 LTS
Release:	14.04
> uname -sr
Linux 3.8.0-19-generic
>sudo kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used

>apt-cache policy qemu-kvm
qemu-kvm:
  Installed: 2.0.0+dfsg-2ubuntu1.10
  Candidate: 2.0.0+dfsg-2ubuntu1.10
  Version table:
 *** 2.0.0+dfsg-2ubuntu1.10 0
        500 http://ch.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     2.0.0+dfsg-2ubuntu1.9 0
        500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
     2.0.0~rc1+dfsg-0ubuntu3 0
        500 http://ch.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

** Affects: qemu-kvm (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "libvirtd.log"
   https://bugs.launchpad.net/bugs/1408692/+attachment/4294063/+files/libvirtd.log

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in Ubuntu.
https://bugs.launchpad.net/bugs/1408692

Title:
  libvirt does not start because libusb_get_port_numbers symbol is
  undefined

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/1408692/+subscriptions



More information about the Ubuntu-server-bugs mailing list