cx_Oracle compiled in MS VC++ 2010 (MSC v1600) 64 bit

"M.M.Rashid (Rubel)" <[email protected]> Tue, 16 May 2017 21:36:12 +0800
Newsgroups gmane.comp.python.db.cx-oracle
Message-ID <CABs5CDFTwJo_XLMjhtD1_-T8L-EaH5rmbsGh3m9BOx_GnHd50w@mail.gmail.com>
Dear All,

Due to in house python distribution which was compiled in MSC++ v2010, I
had to compile cx_Oracle with the same version. In doing so, I am having
two issues:



   - If I compile in DEBUG mode, I get this error:

*            LINK : fatal error LNK1104: cannot open file 'python27_d.lib'*

           in my python instillation, I only have release library -
python27.lib

   - So, I tried to compile in Release mode and this time it links fine. I
   got the cx_oracle.pyd. Copying the pyd in sys.path and then trying to
   import gives this error:


*Python 2.7.11 (default, Mar 10 2016, 10:58:13) [MSC v.1600 64 bit (AMD64)]
on win32*
*Type "help", "copyright", "credits" or "license" for more information.*

*>>> import cx_Oracle*

*Traceback (most recent call last):*

*  File "<stdin>", line 1, in <module>*

*ImportError: dynamic module does not define init function (initcx_Oracle)*

*>>>*



 What steps am I missing here?

-- 
M. M. RASHID(Rubel)
Perth, Australia.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
cx-oracle-users mailing list
cx-oracle-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/cx-oracle-users