Beaglebone running image on qemu: libusb error
I am trying to run a beaglebone image on qemu following this tutorial . im using ubuntu 14.04 and installed qemu as shown in the tutorial
when the team is destroyed
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 don't know if a libusb version is released or what.
There is a similar bug report https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=711589
I had the same message on my system. To solve this problem, you have, as root, a link to the correct libusb.
sudo ln -sf /lib/x86_64-linux-gnu/libusb-1.0.so.0 /usr/local/lib/libusb-1.0.so.0
source to share
Start by running (YMMV where the qemu binaries are):
ldd / usr / bin / qemu-system-arm
You should get a lot of output indicating what the Qsu runtime is taking and where the system is typing it. The fact that you are getting a "missing character" error means that the system is using a shared library, it simply does not export the libusb_get_port_numbers function signature.
If the above is true, then either A) your libusb distributions do not export this function (this may be out of date), or B) you have another third party application that installed its own libusb (MPLABX does this, puts it in / usr / local / lib and symlinks back to / opt / microchip).
Without any further information about OS etc. it's hard to help.
source to share