cinco icon indicating copy to clipboard operation
cinco copied to clipboard

Linux openocd binaries have a similar problem with libusb

Open nimblemachines opened this issue 8 years ago • 2 comments

As with the Darwin version of openocd (see issue #23) the Linux binaries are going to expect to find libusb somewhere. For all Linux users, this means they have to separately install libusb, and for users of non-mainstream Linux distros - such as NixOS - this requires several tedious steps to patch the ELF interpreter path and RPATH of the openocd executable before it can be used.

Because statically linking to libusb wouldn't add much to the binary, I'm going to suggest this as the simplest solution to this problem.

nimblemachines avatar Apr 10 '17 21:04 nimblemachines

Thanks for reporting this. We will release binaries for all the tools in the near future in a more convenient form than having to grep through the Arduino package. Will post when it's updated.

Same for #23.

mwachs5 avatar Apr 13 '17 19:04 mwachs5

That's also great news! Thanks for looking into this.

nimblemachines avatar Apr 14 '17 22:04 nimblemachines