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 22:06:56
|
On 11/27/2013 09:57 PM, Ivanelson Nunes wrote: > 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. > > You need to install the dependencies for compiling Python first. Check out the python page on perzl for a complete list. You dont need everything, but most of them. I'd recommend using the rpm spec-file i linked you though. Install the srpm for python on perzl first, then drop my spec-file into /opt/freeware/src/packages/SPECS/ and compile it with "rpm -bb --target ibm-ppc-aix6.1 foo.spec" -- [Kristian Berg] |