Can't find shared library libusb
James Cameron
quozl at laptop.org
Sun Oct 17 20:51:15 EDT 2010
On Fri, Oct 15, 2010 at 05:24:30PM -0200, Emiliano Pastorino wrote:
> I'm trying to use libusb, but I'm getting this behaviour in python:
>
> >> from ctypes.util import find_library
> >> find_library('usb')
> >>
> (returned None)
I see this too on os852, on Debian, on Ubuntu 10.10, and on Fedora 11.
On the other hand, cddl.LoadLibrary worked fine.
An strace of find_library showed ldconfig, gcc and ld were executed, and
this agrees with the documentation:
http://docs.python.org/library/ctypes.html#finding-shared-libraries
--
James Cameron
http://quozl.linux.org.au/
More information about the Devel
mailing list