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 >> > I'll try removing the versioning to see if that does the trick,but that would be odd...if I remove the libpython.3.4m.so.1 from /lib, I can't even run python
bld/python/Python-3.4.2 $ rm /lib/libpython3.4m.so* /bld/python/Python-3.4.2 $ python3 CANNOT LINK EXECUTABLE: could not load library "libpython3.4m.so.1.0" needed by "python3"; caused by library "libpython3.4m.so.1.0" not found It's just the time module that doesn't find the library. > -- 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
