Install cx-Oracle 5.2 on OSX (El Capitan), mostly for my reference
What we install
- Oracle Instant Client 64bit 11.2.0.4.0
- cx-Oracle 5.2
export $ORACLE_HOME=/data/oracle/instantclient_11_2
mkdir -p $ORACLE_HONE
export DYLD_LIBRARY_PATH=$ORACLE_HOME
export LD_LIBRARY_PATH=$ORACLE_HOME
unzip 'instantclient*.zip' -d $ORACLE_HOME/..
ln -s $ORACLE_HOME/libclntsh.dylib.11.1 $ORACLE_HOME/libclntsh.dylib
pip install cx-Oracle