# Library not loaded: /usr/local/opt/libusb/lib/libusb-1.0.0.dylib

**URL:** <https://community.particle.io/t/library-not-loaded-usr-local-opt-libusb-lib-libusb-1-0-0-dylib/46593>\
**Category:** Particle Workbench\
**Tags:** argon\
**Created:** [December 28, 2018, 8:57am UTC](https://community.particle.io/t/library-not-loaded-usr-local-opt-libusb-lib-libusb-1-0-0-dylib/46593 "2018-12-28T08:57:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mitch](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/mitch/32/19421_2.png) [@mitch](https://community.particle.io/u/mitch)\
**Post date:** [December 28, 2018, 8:57am UTC](https://community.particle.io/t/library-not-loaded-usr-local-opt-libusb-lib-libusb-1-0-0-dylib/46593/1 "2018-12-28T08:57:59Z")

</div>

I've followed the "getting started" guide to setup VSCode environment on MacOS (10.14.2).  
When I attempt to flash the application using the "Particle: Flash application (local)" task, the toolchain encounters:

> dyld: Library not loaded: /usr/local/opt/libusb/lib/libusb-1.0.0.dylib  
> Referenced from: /Users/abmh763/.particle/toolchains/buildtools/1.0.1//dfu-suffix  
> Reason: image not found

Before exiting (exit code : 2)

Is there any other dependencies required

---

<div class="post-metadata">

**Author:** ![m\_m](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/m_m/32/18365_2.png) [@m\_m](https://community.particle.io/u/m_m)\
**Post date:** [January 4, 2019, 11:13pm UTC](https://community.particle.io/t/library-not-loaded-usr-local-opt-libusb-lib-libusb-1-0-0-dylib/46593/2 "2019-01-04T23:13:06Z")

</div>

can you try installing “libusb” (easiest way i’ve found is to use [homebrew](https://brew.sh/) - `brew install libusb`) and see if that fixes things?

---

<div class="post-metadata">

**Author:** ![mitch](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/mitch/32/19421_2.png) [@mitch](https://community.particle.io/u/mitch)\
**Post date:** [January 11, 2019, 6:32pm UTC](https://community.particle.io/t/library-not-loaded-usr-local-opt-libusb-lib-libusb-1-0-0-dylib/46593/3 "2019-01-11T18:32:00Z")

</div>

Thanks! I’ve made progress, now on to “No DFU capable USB device available” error

Many thanks, once again

---

<div class="post-metadata">

**Author:** ![m\_m](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/m_m/32/18365_2.png) [@m\_m](https://community.particle.io/u/m_m)\
**Post date:** [September 9, 2019, 2:47pm UTC](https://community.particle.io/t/library-not-loaded-usr-local-opt-libusb-lib-libusb-1-0-0-dylib/46593/4 "2019-09-09T14:47:10Z")

</div>

for future reference, we’ve collected a handful of known-gotchas on linux / ubuntu and their work-arounds over here:

[https://docs.particle.io/support/particle-tools-faq/workbench/#linux-tips](https://docs.particle.io/support/particle-tools-faq/workbench/#linux-tips)
