Using macOS Venture Version 13.5.1 brew install libusb succeeds, but subsequent ./configure is unable to find libusb, fails with the following error
Library libusb-1.0 was not found on this system. Please install it and re-run ./configure
Here's an inline link to the error: [pastebin.com] https://pastebin.com/xdvhbwAK
The error message is saying that the configure script cannot find the (libusb library). This can happen for a few reasons:
To fix this, you can try the following:
Make sure that the libusb library is installed. You can do this by running the following command:
If the libusb library is installed, make sure that the configure script can find it. You can do this by setting the PKG_CONFIG_PATH environment variable to the directory where the libusb library is installed. For example, if the libusb library is installed in /usr/local/lib/pkgconfig, you would set the PKG_CONFIG_PATH environment variable to /usr/local/lib/pkgconfig.