> > What's libusb .so file named? > It's named "libusbpp-0.1.4.dylib", with some symlinks, as follows:
$ cd /usr/local/lib $ ls -l libusb* lrwxr-xr-x 1 root wheel 18 Feb 11 2008 libusb-0.1.4.4.5.dylib -> libusb-0.1.4.dylib -rwxrwxr-x 1 root wheel 93992 Feb 3 2008 libusb-0.1.4.dylib -rw-rw-r-- 1 root wheel 115504 Feb 3 2008 libusb.a lrwxr-xr-x 1 root wheel 18 Feb 11 2008 libusb.dylib -> libusb-0.1.4.dylib -rwxrwxr-x 1 root wheel 809 Feb 3 2008 libusb.la lrwxr-xr-x 1 root wheel 20 Feb 11 2008 libusbpp-0.1.4.4.5.dylib -> libusbpp-0.1.4.dylib -rwxrwxr-x 1 root wheel 192988 Feb 3 2008 libusbpp-0.1.4.dylib -rw-rw-r-- 1 root wheel 303808 Feb 3 2008 libusbpp.a lrwxr-xr-x 1 root wheel 20 Feb 11 2008 libusbpp.dylib -> libusbpp-0.1.4.dylib -rwxrwxr-x 1 root wheel 848 Feb 3 2008 libusbpp.la I took a look at backend.libusb01.py and noted this code: def _load_library(): candidates = ('usb', 'libusb0') for candidate in candidates: libname = ctypes.util.find_library(candidate) if libname is not None: break So for testing, I tried: >>> import ctypes.util >>> print ctypes.util.find_library("usb") /usr/local/lib/libusb.dylib >>> print ctypes.util.find_library("libusb0") None >>> print ctypes.util.find_library("libusb") /usr/local/lib/libusb.dylib >>> ctypes.CDLL('/usr/local/lib/libusb.dylib') <CDLL '/usr/local/lib/libusb.dylib', handle 721680 at 69eb0> Thanks again, -Chris ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ pyusb-users mailing list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users