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 13:39:43
|
On 27.11.2013 14:26, Ivanelson Nunes wrote: >> unable to execute ./Modules/ld_so_aix: No such file or directory >> error: command './Modules/ld_so_aix' failed with exit status 1 You're getting this because compiling python directly on aix doesn't setup the target path for ld_so_aix correctly. You need to change some parameters in _sysconfigdata.py. If you compiled and installed manually, it is probably located in /usr/local/lib/python2.7/. Find the instances of "./Modules/ld_so_aix" and change it to the absolute path of ld_so_aix, usually located under config/ld_so_aix in that same installation directory. I.E., /usr/local/lib/python2.7/config/ld_so_aix. If anybody else has a good suggestion on how to fix the linker issue with python on aix other than search and replace in ld_so_aix, I'm very interested as it's a hack. -- [Kristian Berg] |