macoscompilation

libusb not found mac os x 10.6.8


Can anybody tell me how to make my compiler find the libs that it is looking for. As far as I can tell the libs are where it is supposed to be looking. Perhaps there is a mac pro out there that will know how to get around this.

Below is the error that is causing the configuration fail

checking for usb_init... configure: error: libusb not found, use ./configure LIBUSB_LIBS=...

Below is what it dumped into the config.log file

Pastebin to config.log file


Solution

  • Got the same problem. Removed the -arch i386 from the $CFLAGS, as I am only interested in the x64 version. Worked like a charm!