installing cx_oracle on centos

Installation and support for Oracle DB on CentOS.
Post Reply
taylorss
Posts: 1
Joined: 2008/07/22 11:38:07

installing cx_oracle on centos

Post by taylorss » 2008/07/22 11:59:22

Just started using CentOS and I like it so far, but I'm having some trouble with some basic configuration issues that I haven't run into in other linux distros:

I'm trying to instal cx_oracle (oracle api for python) for python 2.5.2, which requires the oracle client libraries:
http://pypi.python.org/pypi/cx_Oracle/4.4

I have decided to use 10g. (box is a custom server dual quad proc xeon x64 architecture)

I found a post suggesting I could use the oracle instant client:
http://www.megasolutions.net/python/installing-cx_Oracle_-78565.aspx

but cx_oracle does not recognize the instant client libraries during the build (python setup.py build).

So I tried using the full oracle 10g client (500+MB):
http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10201linx8664soft.html

But CentOS isn't supported so it won't install (I decided not to try and change my uname function).

Has anyone successfully installed cx_oracle on centos5?

Thanks in advance,
Taylor

Bubak
Posts: 1
Joined: 2008/09/25 10:51:29

Re: installing cx_oracle on centos

Post by Bubak » 2008/09/25 11:10:22

Hi,
I have used -ignoreSysPrereqs parameter for Oracle installer for database 10g sw installation on CentOS 5.2. Another possible way I have used on CentOS 4 was to replace content of the file /etc/redhat-release to "redhat-4". I think it is possible on CentOS 5.2 too:-).

Best regards
Radek

Post Reply

Return to “CentOS 5 - Oracle Installation and Support”