Forum Stats

  • 3,769,505 Users
  • 2,252,970 Discussions
  • 7,875,061 Comments

Discussions

cx_Oracle, Python 2.4.4 and Oracle 11g

764404
764404 Member Posts: 1
edited Apr 7, 2010 11:41AM in Python
Does anyone know if it is possible to build/install cx_Oracle on a Solaris 10 Sun Box using Python 2.4.4 and Oracle 11g (Database) software? If so, how do I make it happen.

I get a ELFCLASS64 error and everything I read suggests that I need 32-bit Oracle libraries (which don't appear to get installed anymore).

Thanks.

Answers

  • 604934
    604934 Member Posts: 86
    Please follow the following route:
    I believe you will be using Python 2.4.4 on a 32-bit machine:
    There are cx_oracle versions for Python 2.4 in the main download page:http://cx-oracle.sourceforge.net/
    If it doesn't work for you
    1. Download oracle instance client from http://www.oracle.com/technology/software/tech/oci/instantclient/index.html
    2. Download cx_Oracle source from http://cx-oracle.sourceforge.net/ and use README in the tar file and simple build your module with python2.4.4 setup.py install

    Regards,
    Husnu Sensoy
This discussion has been closed.