Re: [cx-oracle-users] libclntsh.so and setup.py
Brought to you by:
atuining
From: Mark H. <mh...@pi...> - 2012-02-09 16:58:45
|
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 |