Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Linux packages need to depend on libusb? #109

Closed
nickatsegment opened this issue Jan 11, 2019 · 3 comments
Closed

Linux packages need to depend on libusb? #109

nickatsegment opened this issue Jan 11, 2019 · 3 comments

Comments

@nickatsegment
Copy link
Contributor

nickatsegment commented Jan 11, 2019

Just a hunch, but I suspect this is the case. If so, we should ensure this is documented and captured in builds

@eculver
Copy link
Contributor

eculver commented Mar 6, 2019

I was able to confirm this. For Debian, you'll see something like this:

# pkg-config --cflags  -- libusb-1.0
Package libusb-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libusb-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libusb-1.0' found
pkg-config: exit status 1

The fix is easy: apt-get install libusb-1.0-0-dev -- I can add some documentation and a Dockerfile to help with this.

@eculver eculver self-assigned this Mar 6, 2019
@eculver eculver mentioned this issue Mar 6, 2019
nickatsegment pushed a commit that referenced this issue Mar 7, 2019
This relates to a question brought up in #109. I went ahead and added a Dockerfile for executing the build in Ubuntu as a demonstration of this need for a dependency.
@stale
Copy link

stale bot commented May 6, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label May 6, 2019
@nickatsegment nickatsegment added stale and removed stale labels May 17, 2019
@coffeewithayman
Copy link

Seems related, but using the packagecloud repo, an apt-get install aws-okta does not install libusb-1.0 automatically.

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants