Re: [cx-oracle-users] Cannot build cx_Oracle on Ubuntu Karmic
Brought to you by:
atuining
From: László M. <la...@mo...> - 2010-01-29 14:02:25
|
Yeah, I use the 32 bit version of Oracle XE because 1) I couldn't find the bloody download link for the 64 bit version and because 2) I've heard that the 64 bit version of Oracle is pretty damn instable. In the meantime I've managed to solve the issue by using the RPM as outlined in http://monda.hu/blog/2010/01/29/installing-cx_oracle-on-ubuntu-karmic-koala-64-bit/ but I'm still interested in how to build it from source. On Fri, Jan 29, 2010 at 5:27 AM, Anthony Tuininga <ant...@gm...> wrote: > Hmm, looks like perhaps you have the 32-bit version of Oracle XE? Note > the message about skipping an incompatible library. > > On Thu, Jan 28, 2010 at 4:05 PM, László Monda <la...@mo...> wrote: >> Hi List, >> >> I'm using Ubuntu Linux, Karmic Koala, the 64 bit version and Oracle XE >> 10.2.0.1.0 >> >> Here's what "python setup.py build" outputs: >> >> running build >> running build_ext >> building 'cx_Oracle' extension >> gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions >> build/temp.linux-x86_64-2.6-10g/cx_Oracle.o >> -L/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib >> -L/usr/lib/oracle/xe/app/oracle/product/10.2.0/server -lclntsh -o >> build/lib.linux-x86_64-2.6-10g/cx_Oracle.so >> /usr/bin/ld: skipping incompatible >> /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libclntsh.so >> when searching for -lclntsh >> /usr/bin/ld: cannot find -lclntsh >> collect2: ld returned 1 exit status >> error: command 'gcc' failed with exit status 1 >> >> Thanks in advance! >> >> -- >> László Monda <http://monda.hu> >> >> ------------------------------------------------------------------------------ >> The Planet: dedicated and managed hosting, cloud storage, colocation >> Stay online with enterprise data centers and the best network in the business >> Choose flexible plans and management services without long-term contracts >> Personal 24x7 support from experience hosting pros just a phone call away. >> http://p.sf.net/sfu/theplanet-com >> _______________________________________________ >> cx-oracle-users mailing list >> cx-...@li... >> https://lists.sourceforge.net/lists/listinfo/cx-oracle-users >> > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > cx-oracle-users mailing list > cx-...@li... > https://lists.sourceforge.net/lists/listinfo/cx-oracle-users > -- László Monda <http://monda.hu> |