Bluez tips and tricks

libusb fails with linking error

The problem is that libusb is broken on gentoo (see http://bugs.gentoo.org/show_bug.cgi?id=247455, it fails with the following:

/usr/libexec/gcc/armv4tl-softfloat-linux-gnueabi/ld: skipping incompatible /lib/libusb.so when searching for /lib/libusb.so
/usr/libexec/gcc/armv4tl-softfloat-linux-gnueabi/ld: cannot find /lib/libusb.so

The (temporary) solution is to move your /lib/libusb.so out of the way for this package, and link /usr/armv4tl-.../lib/libusb.so to /lib