2014-10-28 18:51 GMT-02:00 Anony Mous <fyng...@gmail.com>:
> ok, is it the other way around? OSX requires dylibs, rather than .so, so
> PyUSB is looking for/using the wrong thing?
>
> There's a line in the usblib configure that says the linker doesn't support
> .so and elsewhere it implies that the default *is* the .so format, so it
> seems like it really thinks it ought to be making dylibs...
>
> but if that's the case, why doesn't PyUSB look for dylibs?
>
> So confused...
>

PyUSB uses ctypes, which works fine with dynlib, but iirc it does not
look at environment variables setup, so you need the path of libusb
configured in the search path for your system. I never used a Mac OSX,
don't how it works, but should be something like /etc/ld.so.conf in
Linux.


-- 
Best Regards,
Wander Lairson Costa

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

Reply via email to