> It hasn't. This is a fresh compile under 10.6.8. I am trying -- hard -- to
> avoid using homebrew and similar.

I personally never broke my systems with Homebrew (but I did several
time with MacPorts and Fink), and I now use it intensively, but I
guess that YMMV.

> Adding libusb path to DYLD_LIBRARY_PATH should be enough.
> export DYLD_FALLBACK_LIBRARY_PATH=/usr/local/lib
> export DYLD_LIBRARY_PATH=/usr/local/lib

It should, but in any case you do not need both (remove
DYLD_FALLBACK_LIBRARY_PATH, although it does not hurt)

> It doesn't appear that the DEBUG log command does anything, but this is
> still just trying to get libusb to wake up, so I wouldn't expect it to.

Maybe you should try to move one step downwards and check what
Python'c ctypes is able to load:

$ python
>>> import ctypes
>>> import ctypes.util
>>> ctypes.util.find_library('libusb-1.0')

should return

  /usr/local/lib/libusb-1.0.dylib

>>> ctypes.cdll.LoadLibrary('libusb-1.0.dylib')

should return

  <CDLL 'libusb-1.0.dylib', handle ...>

Does it work on your environment?

Cheers,
Manu

------------------------------------------------------------------------------
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to