I am running Windows Server 2003 on a 64-bit Itanium server that also works with 64-bit Oracle 10.2 and I would like to install cx_Oracle for Python 2.5. I used cx_Oracle many times on both Windows and Linux, and I also compiled it earlier on 32-bit versions of these platforms, but I never tried compiling IA64.
None of the cx_Oracle binary builds at http://cx-oracle.sourceforge.net/ are 64-bit, and I get an error after installing any of them when trying to run import cx_Oracle, so I believe that I need to do this. to compile it from source.
When python setup.py buildI start, I get an error that Python created using Visual Studio 2003, and that I need something that can create compatible binaries. I have Visual Studio 2005, which apparently does not comply with the bill due to a link to another version of the standard C library and probably for other reasons. Unfortunately, Visual Studio 2003 is no longer available for download, and I'm not sure where to get it.
So, I download MinGW from http://sourceforge.net/projects/mingw/files/ , but this is also only available in 32-bit form. I continue and give it a try anyway, but it gives me an error while compiling one of the Oracle DLLs that I am contacting with an invalid file format.
At this point, I have many options, and I'm not sure where to put my efforts:
I could download the 64-bit MinGW from http://sourceforge.net/projects/mingw-w64/ and try to use this, except that it only seems to be available as a source, so I would have to compile the compiler, possibly using Visual Studio 2005.
I could try using the 32-bit x86 build in Python and then download the Oracle Instant Client SDK from http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/winsoft.html and then use this to build cx_Oracle. I probably would have to set ORACLE_HOME on the client so that it does not try to communicate with 64-bit server DLLs, but it looks like this might work.
Python , Visual Studio 2005, Visual Studio 2005 cx_Oracle . Python Linux , , Windows.
, Visual Studio 2005 DLL , Visual Studio 2003. , Visual Studio , gcc, .
, . - , ? / , , .
, - cx_Oracle 64- Windows Itanium - .