running beaglebone image on qemu : libusb error

user2948075 picture user2948075 · Aug 31, 2014 · Viewed 7.3k times · Source

I'mt trying to run beaglebone image on qemu following this tutorial. im using ubuntu 14.04 and installed qemu as shown in the tutorial

when ruining the command

qemu-system-arm -M beaglexm -drive if=sd,cache=writeback,file=Angstrom-TI-GNOME-image-eglibc-ipk-v2012.01-core-beagleboard-2012.01.11.img -clock unix -serial stdio -device usb-kbd -device usb-mouse -usb -device usb-net,netdev=mynet -netdev user,id=mynet

I got this error :

qemu-system-arm: symbol lookup error: qemu-system-arm: undefined symbol: libusb_get_port_numbers

I dont know if it's libusb version issue or what.

Answer

zzeroo picture zzeroo · Oct 25, 2014

There is a similar bug report on https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=711589

I had the same message on my system. To solve it you have, as root, to link in the correct libusb.

sudo ln -sf /lib/x86_64-linux-gnu/libusb-1.0.so.0 /usr/local/lib/libusb-1.0.so.0