Re: [cx-oracle-users] libclntsh.so and setup.py
Brought to you by:
atuining
From: Aurélien V. <val...@gm...> - 2012-02-09 17:10:25
|
This cannot be used in my case. We have multiple configurations with their own oracle home! The standard linux/macosx way to look for libraries is to search the LD_LIBRARY_PATH, that is what cx_Oracle should use! On Thu, Feb 9, 2012 at 4:58 PM, Mark Harrison <mh...@pi...> wrote: > On 2/9/12 8:51 AM, Mark Harrison wrote: > > On 2/9/12 1:26 AM, Aurélien Vallée wrote: > >> Hello, > >> > >> Just a question, why does cx_Oracle lookup for libclntsh.so in > $ORACLE_HOME and fail if not found? > >> I have my libclntsh.so installed in /usr/local/lib, which means i > basically need to > >> > >> export ORACLE_HOME=/usr/local > >> pip install cx_Oracle > >> export ORACLE_HOME=/usr/local/share/oracle11 > >> > >> Every time I need to install cx_Oracle - which is a pain since i need > to deploy a alot of python applications needing cx_Oracle in virtualens. > > > > We use the oracle instantclient on mac and linux (by your libclntsh.so > filename, I'm > > guessing this may be linux?). > > Oh, and I stuck this on Stackoverflow a while back for future reference: > > > http://stackoverflow.com/questions/764871/installing-oracle-instantclient-on-linux-without-setting-environment-variables > > > ------------------------------------------------------------------------------ > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > cx-oracle-users mailing list > cx-...@li... > https://lists.sourceforge.net/lists/listinfo/cx-oracle-users > -- Aurélien Vallée +33 6 47 41 70 37 |