Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save tsekityam/456f3cf85962fbe2046e2b1eb7c2ade0 to your computer and use it in GitHub Desktop.
Save tsekityam/456f3cf85962fbe2046e2b1eb7c2ade0 to your computer and use it in GitHub Desktop.
  1. Download instantclient-basic-macos.x64-11.2.0.4.0.zip and instantclient-sdk-macos.x64-11.2.0.4.0.zip from http://www.oracle.com/technetwork/topics/intel-macsoft-096467.html to ~/
  2. cd ~
  3. unzip instantclient-basic-macos.x64-11.2.0.4.0.zip
  4. unzip instantclient-sdk-macos.x64-11.2.0.4.0.zip
  5. cd instantclient_11_2
  6. ln -s libclntsh.dylib.11.1 libclntsh.dylib
  7. cd ~
  8. wget https://github.com/vrogier/ocilib/releases/download/v4.2.1/ocilib-4.2.1-gnu.tar.gz
  9. tar -zxvf ocilib-4.2.1-gnu.tar.gz
  10. cd ocilib-4.2.1
  11. ./configure --with-oracle-headers-path=/Users/{USER}/instantclient_11_2/sdk/include --with-oracle-lib-path=/Users/{USER}/instantclient_11_2
  12. make
  13. chmod a+x config/install-sh
  14. sudo make install
  15. Done
@programerko
Copy link

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment