-
Notifications
You must be signed in to change notification settings - Fork 76
Description
Hi,
After installing libusb using brew this error message still happears:
Sketch uses 4392 bytes (26%) of program storage space. Maximum is 16384 bytes. Global variables use 388 bytes (18%) of dynamic memory, leaving 1660 bytes for local variables. Maximum is 2048 bytes. dyld[5289]: Library not loaded: /usr/local/opt/libusb/lib/libusb-1.0.0.dylib Referenced from: <C79B1DDB-9DAE-30AE-9474-2E146265EC5A> /Users/leonardoferlito/Library/Arduino15/packages/WCH/tools/openocd/1.0.0/bin/openocd Reason: tried: '/usr/local/opt/libusb/lib/libusb-1.0.0.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/libusb/lib/libusb-1.0.0.dylib' (no such file), '/usr/local/opt/libusb/lib/libusb-1.0.0.dylib' (no such file), '/usr/local/lib/libusb-1.0.0.dylib' (no such file), '/usr/lib/libusb-1.0.0.dylib' (no such file, not in dyld cache) Failed uploading: uploading error: signal: abort trap
This is due to a broken link, with the use of a symlink you can force the system to use the arm version (installed by brew) of libusb then it complains about it being the wrong architecture