Created
June 24, 2014 15:30
-
-
Save pvilas/f438b68b8ae981465d65 to your computer and use it in GitHub Desktop.
install joeferner/node-oracle node oracle driver on ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export OCI_HOME=<directory of Oracle instant client> | |
export OCI_LIB_DIR=$OCI_HOME | |
export OCI_INCLUDE_DIR=$OCI_HOME/sdk/include | |
export OCI_VERSION=<the instant client major version number> # Optional. Default is 11. | |
export NLS_LANG=AMERICAN_AMERICA.UTF8 | |
cd $OCI_LIB_DIR | |
ln -s libclntsh.so.11.1 libclntsh.so | |
ln -s libocci.so.11.1 libocci.so | |
sudo apt-get install libaio1 | |
# Replace /opt/instantclient_11_2/ with wherever you extracted the Basic Lite files to | |
echo '/opt/instantclient_11_2/' | sudo tee -a /etc/ld.so.conf.d/oracle_instant_client.conf | |
sudo ldconfig |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment