Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble with Mac installation missing libusb #501

Closed
wpd opened this issue Sep 8, 2016 · 6 comments
Closed

Trouble with Mac installation missing libusb #501

wpd opened this issue Sep 8, 2016 · 6 comments
Labels

Comments

@wpd
Copy link

wpd commented Sep 8, 2016

I downloaded and unzipped javacv-1.2-bin.zip as per README.md on my MacBook running OS X Mavericks. When I try to run the example from the "Sample Usage" section in Eclipse, I get the following error:

dyld: lazy symbol binding failed: Symbol not found: _libusb_init
  Referenced from: /private/var/folders/4l/yrsmlwtx0mdfhww3vsql_fqc0000gn/T/javacpp43560497880605/libdc1394.22.dylib
  Expected in: flat namespace

dyld: Symbol not found: _libusb_init
  Referenced from: /private/var/folders/4l/yrsmlwtx0mdfhww3vsql_fqc0000gn/T/javacpp43560497880605/libdc1394.22.dylib
  Expected in: flat namespace

I tried installing libusb from MacPorts, and setting DYLD_LIBRARY_PATH and/or DYLD_FALLBACK_LIBRARY_PATH to point to /opt/local/lib (via Run Configuration environment variables) but nothing seems to help.

I feel like I am missing something very basic here. Can anybody help me?

@saudet saudet added the bug label Sep 10, 2016
@saudet
Copy link
Member

saudet commented Sep 10, 2016

Looks like it doesn't get bundled... Try to install it with Homebrew.

@wpd
Copy link
Author

wpd commented Sep 10, 2016

Hi Saudet,
Thank you for the suggestion...I did install it with MacPorts. How would Homebrew be any different? Macports installs it in /opt/local/lib.

--wpd

@saudet
Copy link
Member

saudet commented Sep 11, 2016

BTW, if you do not need libdc1394, we can ignore this error.

saudet added a commit to bytedeco/javacpp-presets that referenced this issue Sep 11, 2016
@Skinner927
Copy link

I too am having this issue. I've tried libusb installs with both homebrew and ports. I'm not sure where to go from here.

@saudet
Copy link
Member

saudet commented Dec 5, 2016

@Skinner927 Do you need to use libdc1394??

@saudet
Copy link
Member

saudet commented Dec 9, 2016

In any case, this is fixed in version 1.3. Enjoy!

@saudet saudet closed this as completed Dec 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants