Re: [cx-oracle-users] Installing cx_Oracle on AIX without using "xlc_r"
Brought to you by:
atuining
From: Ivanelson N. <iva...@gm...> - 2013-11-27 20:57:36
|
Problems and more problems. I am installing a new instance of Python, but when I do make, I get an error. # ./configure --prefix=/usr/lib/python-2.7.6 # make rt.o Modules/symtablemodule.o Modules/xxsubtype.o > ranlib libpython2.7.a > ./Modules/makexp_aix Modules/python.exp . libpython2.7.a; gcc > -pthread -L/opt/freeware/lib -Wl,-blibpath:/opt/freeware/lib:/usr/lib:/lib > -Wl,-bmaxdata:0x80000000 -Wl,-bE:Modules/python.exp -lld -o python > Modules/python.o libpython2.7.a -ldl -lm > *collect2: fatal error: library libm not found* > compilation terminated. > make: 1254-004 The error code from the last command is 1. :( @ivanelson []s 2013/11/27 Kristian Berg <kr...@ti...> > 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-...@li... > https://lists.sourceforge.net/lists/listinfo/cx-oracle-users > > |