python_hu added the comment:
-> void* handle = dlopen("/usr/local/lib/python2.7/lib-dynload/time.so", 2);
this code can work well,but when the code run to :
PyRun_SimpleString("from time import time,ctime\nprint 'Today
is',ctime(time())\n");
it dumped, i thin
python_hu added the comment:
Thank Amaury,you are right.
So python2.7 share library compile finished,and python2.7 works,and then
I write a test program,to test libpython2.7.so share library,but it dumped!
code:
---
#include ^M
#include "Python.h"^M
#include ^M
^
python_hu added the comment:
Sorry,it just a common behave of xlC_r,we can ignore it.
So i sucess build libpython2.7.so using --enable-shared:
./configure --enable-shared --with-gcc="xlc_r -q64" --with-cxx="xlC_r -q64"
--disable-ipv6 AR="ar -X64"
I make inst
python_hu added the comment:
By the way,i have compared the "configure.in" with Python-2.7_shared_AIX.diff
in Issue941346,and can not find any modification of building share library on
AIX in Python 2.7.2' source code.
--
___
Python
python_hu added the comment:
thanks a lot. as your surggest,i try python2.7.2,but when i build it on AIX
6.1, it can not compile success,breaked by xlc_c console.
Informations:
checking size of double... 8
checking size of long double... 8
checking whether byte ordering is bigendian... yes
New submission from python_hu :
Using python api embed on AIX 6.1,Modules import error,need help!
I have compile Python2.5.5 on Aix 6.1 using condigure:
./configure --with-gcc="xlc_r -q64" --with-cxx="xlC_r -q64" --disable-ipv6
AR="ar -X64"
when i run Python,a