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 15:49:51
|
On Fri, Jan 29, 2010 at 3:35 PM, Anthony Tuininga <ant...@gm...> wrote: > On Fri, Jan 29, 2010 at 7:02 AM, László Monda <la...@mo...> wrote: >> 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. > > Hmm, I haven't heard that the 64-bit version of Oracle is unstable. We > use it here at work and it seems to work just fine. If you have links > that suggest otherwise I'd be happy to read them -- rather than > discover them first hand. :-) I don't know about the specific issues personally, but I've heard about them from a colleague who is pretty experienced about Oracle related issues. >> 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. > > Sure. You installed a 64-bit client and you are using that. You could > build from source using that as well. Just make sure you also have the > instant client development package installed as well. > > The main point is that you must use a 32-bit Python, 32-bit Oracle > client and 32-bit cx_Oracle or a 64-bit Python, 64-bit Oracle client > and 64-bit cx_Oracle. You can't mix and match. Considering the devastating effect of all the suckage I faced today, I'd rather ignore this one as I succeeded to install cx_Oracle using the rpm :) Thank you and take care! > Anthony > >> 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> >> >> ------------------------------------------------------------------------------ >> 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> |