On February 17, 2015 1:52:27 PM CST, Cyd Haselton <[email protected]> wrote: > > >On February 16, 2015 4:37:44 PM CST, Martin Kolman ><[email protected]> wrote: >>Mon, 16 Feb 2015 16:23:37 -0600 Cyd Haselton <[email protected]>: >>> More information: >>> After uncommenting the select module in Setup, running make clean && > >>> make && make install, then running python3, then help(), I get the >>> following: >>> >>> bld/python/Python-3.4.2 $ python3 >>> Python 3.4.2 (default, Feb 16 2015, 12:33:03) >>> [GCC 4.9.2] on linux >>> Type "help", "copyright", "credits" or "license" for more >>information. >>> >>> help() >>> Traceback (most recent call last): >>> File "<stdin>", line 1, in <module> >>> File "/usr/python/lib/python3.4/_sitebuiltins.py >>> <http://sitebuiltins.py>", line 102, in __call__ >>> import pydoc >>> File "/usr/python/lib/python3.4/pydoc.py <http://pydoc.py>", line >62, >> >>> in <module> >>> import platform >>> File "/usr/python/lib/python3.4/platform.py <http://platform.py>", >>> line 115, in <module> >>> import sys, os, re, subprocess >>> File "/usr/python/lib/python3.4/subprocess.py >><http://subprocess.py>", >>> line 352, in <module> >>> import time >>> ImportError: dlopen failed: cannot locate symbol >>> "PyUnicode_DecodeLocale" referenced by "time.cpython-34m.so >>> <http://time.cpython-34m.so>"... >>> >>> The symbol is in libpython.3.4m.so ><http://libpython.3.4m.so>.1...and >> >>> UND in time.cpython-34m.so <http://time.cpython-34m.so>. For some >>> reason time isn't finding the symbol in the shared library. >>Android does not support versioning in SONAMES[0][1][2] - maybe that's > >>what is causing these issues ? >> >>[0] https://code.google.com/p/android/issues/detail?id=55868 >>[1] >>https://groups.google.com/d/msg/android-ndk/_UhNpRJlA1k/hbryqzEgN94J >>[3] https://github.com/MysticTreeGames/Boost-for-Android/issues/44 >>> >> > >Re-building with an unversioned library unfortunately did not resolve >the issue; still getting the ImportError. > >What other reasons could there be for time not finding the symbol in >the installed library?
Some additional import failures. I;ve compared build instructions for these modules and can't find anything that stands out as to why one module will import and the other doesn't: cpython-34m.so"... >>> import array Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: dlopen failed: cannot locate symbol "PyErr_BadArgument" referenced by "array.cpython-34m.so"... >>> import pyexpat >>> import _json >>> import _lsprof >>> import _random Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: dlopen failed: cannot locate symbol "PyMem_Malloc" referenced by "_random.cpython-34m.so"... >>> import zlib Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: dlopen failed: cannot locate symbol "PyMem_Malloc" referenced by "zlib.cpython-34m.so"... >>> import _bisect Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: dlopen failed: cannot locate symbol "PySequence_GetItem" referenced by "_bisect.cpython-34m.so"... >>> import _opcode >>> import _pickle Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: dlopen failed: cannot locate symbol "PyErr_SetNone" referenced by "_pickle.cpython-34m.so"... -- Sent from my Android device with K-9 Mail. Please excuse my brevity. _______________________________________________ Mobile-sig mailing list [email protected] https://mail.python.org/mailman/listinfo/mobile-sig
