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

Cyd Haselton chaselton at gmail.com
Mon Feb 9 23:35:11 CET 2015



On February 9, 2015 4:29:22 PM CST, David Boddie <david at boddie.org.uk> wrote:
>On Monday 9. February 2015, Cyd Haselton wrote:
>> On February 9, 2015 4:10:00 PM CST, David Boddie
><david at boddie.org.uk> 
>wrote:
>
>> >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.
>> 
>> They are.  Here's the output for file
>> 
>> 
>> /bld/python/Python-3.4.2 $ file
>> /usr/python/lib/python3.4/lib-dynload/time.cpython-34m.so
>> /usr/python/lib/python3.4/lib-dynload/time.cpython-34m.so: ELF 32-bit
>LSB
>> shared object, ARM, version 1 (SYSV), dynamically linked, not
>stripped
>
>The next thing I'd try is to use ctypes to try and load it, but that
>won't
>help if you can't import ctypes. Do you have an ldd tool you can run on
>it?
>

Unfortunately I don't. 
I do have objdump and readelf...would either of those do?


-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.


More information about the Mobile-sig mailing list