Skip to content

Instantly share code, notes, and snippets.

@pvilas
Last active August 29, 2015 14:02
Show Gist options
  • Save pvilas/66585984428652fa4827 to your computer and use it in GitHub Desktop.
Save pvilas/66585984428652fa4827 to your computer and use it in GitHub Desktop.
install joeferner/node-oracle node oracle driver (MacOS version)
export OCI_HOME=/Users/pvilas/oracle/instantclient_11_2
export OCI_LIB_DIR=$OCI_HOME
export OCI_INCLUDE_DIR=$OCI_HOME/sdk/include
export OCI_VERSION=11
export NLS_LANG=AMERICAN_AMERICA.UTF8
echo variables seteadas
cd $OCI_LIB_DIR
echo ln -s libclntsh.dylib.11.1 libclntsh.dylib
echo ln -s libocci.dylib.11.1 libocci.dylib
echo links creados
export DYLD_LIBRARY_PATH=$OCI_LIB_DIR
npm install oracle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment