[Mobile-sig] Python Build Import Fails, Question About dynload_shlib
Cyd Haselton
chaselton at gmail.com
Sun Feb 15 04:24:31 CET 2015
I'm still working at the native build of Python on my Android tablet and still troubleshooting the issue with setup.py failing to import just-built modules. (an 'undefined reference to dlopen' error is thrown and stops the setup.py script and the rest of the build...no tracebacks are generated)
I noticed the following readelf output from dynload_shlib.o and a library that works in my build environment. It may be nothing but at this point I'm looking at everything
Output from dlynload_shlib:
/bld/python/Python-3.4.2 $ readelf -a Python/dynload_shlib.o | grep dlopen
00000110 0000221c R_ARM_CALL 00000000 dlopen
0000018c 0000221c R_ARM_CALL 00000000 dlopen
34: 00000000 0 NOTYPE GLOBAL DEFAULT UND dlopen
Output from working library:
/bld/python/Python-3.4.2 $ readelf -a /lib/libcrypto.so.1.0.0 | grep dlopen
001659bc 0000ac16 R_ARM_JUMP_SLOT 00000000 dlopen
172: 00000000 0 FUNC GLOBAL DEFAULT UND dlopen
8342: 00000000 0 FUNC GLOBAL DEFAULT UND dlopen
Shouldn't dlopen be a FUNC and in a R_ARM_JUMP_SLOT in dynload_shlib.o? Or am I grasping at straws?
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/mobile-sig/attachments/20150214/dd137611/attachment.html>
More information about the Mobile-sig
mailing list