Open GoogleCodeExporter opened 8 years ago
[deleted comment]
Hi anthony....@scala.com:
I dont't get what my want, the process is as follows:
1. hg clone https://code.google.com/p/android-python27/
2. ndk version: android-ndk-r9d
export NDK=/mnt/nfsroot/cheng.wang/android-ndk/android-ndk-r9d
export NDKPLATFORM="$NDK/platforms/android-9/arch-arm"
export PATH=$PATH:$NDK:$NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/linux- x86/bin
3. cd android-python27/python-build
a. bash bootstrap.sh
b. bash build.sh
(This will be a error,I modify openssl/jni/Application.mk
NDK_TOOLCHAIN_VERSION=4.4.3 to NDK_TOOLCHAIN_VERSION=4.6)
c. bash package.sh
4. create python_extras_27.zip python_27.zip
I unzip them,and put them in android,
export env and use command:
python test_python.py
but, there is a error:
CANNOT LINK EXECUTABLE: could not load library "libpython2.7.so" needed by
"/usr/com.googlecode.pythonforandroid/files/python/bin/python"; caused by could
not load library "libpython2.7.so" needed by "libpython2.7.so"; caused by OOPS:
recursive link to "libpython2.7.so"
Where is my wrong?
Original comment by chw421...@gmail.com
on 12 May 2014 at 9:17
I have build successful for android-python27, but I don't find any *pyc in
python_extras_27/python expect android.py and not find any *.so in
python_27/python/lib/python2.7/lib-dynload also.
I can find these in /data/data/com.android.python27/... and
/sdcard/com.android.python27/... after install PythonAPK.apk
My compile environment is:
NDK: r5b
SDK: r10
exec sh:
bash bootstrap.sh && build.sh && package.sh
why?
please help me,thank you!
Original comment by chw421...@gmail.com
on 13 May 2014 at 3:34
Original issue reported on code.google.com by
chw421...@gmail.com
on 9 May 2014 at 10:06