Home > IT Architecture > python module cx_Oracle installation on OEL/RHEL/CENTOS 6

python module cx_Oracle installation on OEL/RHEL/CENTOS 6

May 23rd, 2017

I've installed cx_Oracle-5.2.1 on the newly provided server with below steps:

1. Extracted SDK instantclient-sdk-linux.x64-11.2.0.4.0.zip to directory - /usr/lib/oracle/11.2/client64/bin/.

2. Added below to /etc/ld.so.conf

/opt/rh/python27/root/usr/lib64/
/opt/rh/python27/root/usr/lib/
/opt/rh/python27/root/usr/lib64/python2.7/config/
/usr/lib/oracle/11.2/client64/lib/

3. Compiled and installed the cx_Oracle from souce using 'python2.7 setup.py build; python2.7 setup.py install'.

Good Luck!


Categories: IT Architecture Tags:
Comments are closed.