[Mobile-sig] Android-Built Python Cannot Load lib-dynload Modules

David Boddie david at boddie.org.uk
Mon Feb 9 23:10:00 CET 2015


On Mon Feb 9 16:33:23 CET 2015, Cyd Haselton wrote:

> >>> import time
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> ImportError: dlopen failed: library "/usr/python/lib/python3.4/lib-
dynload/time.cpython-34m.so" not found
> 
> I've checked the referenced path and that file is there.  Any ideas why
> it...and every other module in the python3.4/lib-dynload folder...fails to
> load?

It sounds trivial, but are they actually built for the correct architecture?

On a desktop Linux system you could run "file" on the binary to get some idea
of what the .so files are. I'm not sure what you can run in the environment
you are using.

David


More information about the Mobile-sig mailing list