Re: Installing cx_Oracle on AIX without using "xlc_r"

Kristian Berg <[email protected]>
Newsgroups gmane.comp.python.db.cx-oracle
Message-ID <[email protected]>
 

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]

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk

_______________________________________________
cx-oracle-users mailing list
cx-oracle-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/cx-oracle-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.