Re: [cx-oracle-users] Installing cx_Oracle on AIX without using "xlc_r"
Brought to you by:
atuining
From: Kristian B. <kr...@ti...> - 2013-11-27 11:21:27
|
On 27.11.2013 12:13, Ivanelson Nunes wrote: > My only way out is to buy the xlc? If someone to build and compiled in the format aix_ppc cx_Oracle? No, you can compile cx_Oracle with gcc, but you have to use a Python binary compiled with gcc to achieve that. When Python is built on aix, it also creates a wrapper for compiling C modules that can be called from Python. This is the ld_so_aix program. If you compile python with xlc, the wrapper will be created with xlc as the compiler and linker. If you compile python with gcc, it will create a wrapper using gcc. You can't use a xlc-compiled python to create gcc-compiled modules. So you either have to rebuild python with gcc and then compile cx_oracle or you have to get xlc to compile cx_oracle. Now, you can get a free trial of xlc for aix on ibm's website. Maybe that's sufficient to create a rpm you can reuse, but make sure to check the licensing terms of the trial before doing so. -- [Kristian Berg] |