Re: [cx-oracle-users] cx_Oracle-5.1.1 install help (Solaris 11 w/ Oracle DB Client 11.2.0.3 64-bit)
Brought to you by:
atuining
From: Anthony T. <ant...@gm...> - 2012-02-14 16:09:25
|
Hi, Looks to me like you are trying to use a 64-bit Oracle client with a 32-bit Python. That won't work. :-) You will need to have a 64-bit Python. If you already do, the other possibility is that you need a special switch to specify that you want to build 64-bit binaries. If that is the case, let me know what needs to be adjusted in setup.py to make things work for you. Thanks. Anthony On Tue, Feb 14, 2012 at 8:54 AM, Brad Hudson <bra...@gm...> wrote: > Can anyone assist with an install of cx_Oracle-5.1.1 on Solaris 11? I have > installed the Oracle DB Client 11.2.0.3 (64-bit on SPARC) and receive the > following error when attempting to build cx_Oracle: > > # python setup.py build > running build > running build_ext > building 'cx_Oracle' extension > /usr/lib/python2.6/pycc -G build/temp.solaris-2.11-sun4v-2.6-11g/cx_Oracle.o > -L/u01/app/oracle/product/11.2.0/client_1/lib -L. -lclntsh -lpython2.6 -o > build/lib.solaris-2.11-sun4v-2.6-11g/cx_Oracle.so > ld: fatal: file /u01/app/oracle/product/11.2.0/client_1/lib/libclntsh.so: > wrong ELF class: ELFCLASS64 > ld: fatal: file processing errors. No output written to > build/lib.solaris-2.11-sun4v-2.6-11g/cx_Oracle.so > collect2: ld returned 1 exit status > error: command '/usr/lib/python2.6/pycc' failed with exit status 1 > # > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > cx-oracle-users mailing list > cx-...@li... > https://lists.sourceforge.net/lists/listinfo/cx-oracle-users > |