Re: [cx-oracle-users] CX Oracle AIX 6.1 64 bit Oracle 11.2 64 bit
Brought to you by:
atuining
From: inkblotter <ink...@gm...> - 2011-10-20 05:22:21
|
Two things that might be causing your problems. 1) Use LD_LIBRARY_PATH instead of LIBPATH, unset $LIBPATH Also your LD_LIBRARY_PATH should also include $ORACLE_HOME/lib 2) Copy that command to build cx_Oracle.so to an arbitrary new file, I usually use a file called 'doit', and change it like this /usr/vacpp/bin/xlC_r -qflag=w:w -qstaticinline -qfuncsect -qnotempinc -q64 -qcheck=nobounds:div:null -qlanglvl=ansi -qlonglong -D_REENTRANT -brtl -bnolibpath -L./ -qmkshrobj build/temp.aix-6.1-2.5-10g/cx_Oracle.o -L/u01/app/oracle/product/11.2.0/client_1/lib -L/u01/app/oracle/product/11.2.0/client_1 -lclntsh -L/app/sapbods/dataservices/DataQuality/python/lib -lpython2.5 -o build/lib.aix-6.1-2.5-10g/cx_Oracle.so Then chmod +x doit ./doit If that works without errors python setup.py install If it doesn't work try /usr/vacpp/bin/xlC_r -qflag=w:w -qstaticinline -qfuncsect -qnotempinc -q64 -qcheck=nobounds:div:null -qlanglvl=ansi -qlonglong -D_REENTRANT -brtl -bnolibpath -L./ -qmkshrobj build/temp.aix-6.1-2.5-10g/cx_Oracle.o -L/u01/app/oracle/product/11.2.0/client_1/lib -L/u01/app/oracle/product/11.2.0/client_1 -lclntsh /app/sapbods/dataservices/DataQuality/python/lib/libpython2.5.so -o build/lib.aix-6.1-2.5-10g/cx_Oracle.so Though I hope you don't need this hack, it's AIX! If neither of these things manages to make cx_Oracle.so, tell me what xlC -qversion reports and oslevel -s Good luck. I have built cx_Oracle on AIX 5.3, 6.1, and 7.1, so it is possible. On 10/19/2011 04:49 PM, Brij M Pandey wrote: > Hi , > > Am facing the below errors: > > Here is the platform info: > 1> uname -a > AIX 1 6 00CB4BD54C00 > > 2> ldd /app/sapbods/dataservices/DataQuality/python/bin/python > > /app/sapbods/dataservices/DataQuality/python/bin/python needs: > /app/sapbods/dataservices/DataQuality/python/lib/libpython2.5.so > /usr/lib/libpthread.a(shr_xpg5_64.o) > /usr/lib/libc.a(shr_64.o) > /usr/lib/libdl.a(shr_64.o) > /unix > /usr/lib/libcrypt.a(shr_64.o) > > > 3> LIBPATH: > /app/sapbods/dataservices/DataQuality/python/lib > > /app/sapbods/dataservices/DataQuality/python/bin/python setup.py build > running build > running build_ext > building 'cx_Oracle' extension > /usr/vacpp/bin/xlC_r -qflag=w:w -qstaticinline -qfuncsect -qnotempinc -q64 > -qcheck=nobounds:div:null -qlanglvl=ansi -qlonglong -D_REENTRANT -brtl > -bnolibpath -L./ -qmkshrobj build/temp.aix-6.1-2.5-10g/cx_Oracle.o > -L/u01/app/oracle/product/11.2.0/client_1/lib > -L/u01/app/oracle/product/11.2.0/client_1 -lclntsh -lpython2.5 -o > build/lib.aix-6.1-2.5-10g/cx_Oracle.so > ld: 0706-006 Cannot find or open library file: -l python2.5 > ld:open(): A file or directory in the path name does not exist. > error: command '/usr/vacpp/bin/xlC_r' failed with exit status 255 > > > > PLease help or suggest. > > Thanks > Brij > > > ------------------------------------------------------------------------------ > The demand for IT networking professionals continues to grow, and the > demand for specialized networking skills is growing even more rapidly. > Take a complimentary Learning@Ciosco Self-Assessment and learn > about Cisco certifications, training, and career opportunities. > http://p.sf.net/sfu/cisco-dev2dev > _______________________________________________ > cx-oracle-users mailing list > cx-...@li... > https://lists.sourceforge.net/lists/listinfo/cx-oracle-users > > |