Hi,
I tried to add pyusb to buildroot (
The problem is associated with the way how ctypes package detects the name of necessary shared library. Particularly it fails on uclibc based systems running on Arm platform. I'm interested if someone has also faced that problem, and found a good sol ution. I had to patch the nested _findSoname_ldconfig(name) function in the Pyth on-2.7.3/Lib/ctypes/util.py file, adding the appropriate definition for my platform:
mach_map = { 'x86_64-64': 'libc6,x86-64', 'ppc64-64': 'libc6,64bit', 'sparc64-64': 'libc6,64bit', 's390x-64': 'libc6,64bit', 'ia64-64': 'libc6,IA-64', 'armv6l','libc0', # Added by WZab for ctypes support on Ras pberry Pi } abi_type = mach_map.get(machine, 'libc6')
but this approach doesn't seem to be satissfactory...