[issue13493] Import error with embedded python on AIX 6.1

2019-05-14 Thread STINNER Victor
STINNER Victor added the comment: No activity since 2011, I close the issue. -- nosy: +vstinner resolution: -> out of date stage: test needed -> resolved status: open -> closed ___ Python tracker __

[issue13493] Import error with embedded python on AIX 6.1

2014-06-02 Thread Michael Haubenwallner
Changes by Michael Haubenwallner : -- nosy: +haubi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue13493] Import error with embedded python on AIX 6.1

2011-12-01 Thread python_hu
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 think it make be because of there are t

[issue13493] Import error with embedded python on AIX 6.1

2011-11-30 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: > dlopen("/usr/local/lib/python2.6/lib-dynload/time.so", 2); You are trying to open a .so from another Python installation. It won't work: it is certainly linked to another Python VM, which is not initialized. -- ___

[issue13493] Import error with embedded python on AIX 6.1

2011-11-30 Thread python_hu
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 ^M int main(

[issue13493] Import error with embedded python on AIX 6.1

2011-11-29 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: I'm sorry I don't know much about AIX. How are shared libraries searched? is /usr/local/lib a standard place for them? After a couple of google search I suggest the following command: LIBPATH=/usr/local/lib:/usr/lib python2.7 --

[issue13493] Import error with embedded python on AIX 6.1

2011-11-29 Thread python_hu
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 install python2.7.2,but when i run pyt

[issue13493] Import error with embedded python on AIX 6.1

2011-11-28 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Is the man page really displayed during compilation? It's a bit weird that the CC compiler behaves this way. Is this common behavior on AIX? By the way, you are already in the "make" command; the output you show is made during compilation of the "_ctyp

[issue13493] Import error with embedded python on AIX 6.1

2011-11-28 Thread python_hu
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 tracker

[issue13493] Import error with embedded python on AIX 6.1

2011-11-28 Thread python_hu
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 c

[issue13493] Import error with embedded python on AIX 6.1

2011-11-28 Thread Éric Araujo
Changes by Éric Araujo : -- components: -None stage: -> test needed title: using python embed on AIX 6.1,Modules import error! -> Import error with embedded python on AIX 6.1 type: crash -> behavior versions: +Python 2.7 -Python 2.6 ___ Python trac