- 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 ~/
cd ~
unzip instantclient-basic-macos.x64-11.2.0.4.0.zip
unzip instantclient-sdk-macos.x64-11.2.0.4.0.zip
cd instantclient_11_2
ln -s libclntsh.dylib.11.1 libclntsh.dylib
cd ~
wget https://github.com/vrogier/ocilib/releases/download/v4.2.1/ocilib-4.2.1-gnu.tar.gz
tar -zxvf ocilib-4.2.1-gnu.tar.gz
cd ocilib-4.2.1
./configure --with-oracle-headers-path=/Users/{USER}/instantclient_11_2/sdk/include --with-oracle-lib-path=/Users/{USER}/instantclient_11_2
make
chmod a+x config/install-sh
sudo make install
- Done
Last active
April 13, 2019 00:39
-
-
Save tsekityam/456f3cf85962fbe2046e2b1eb7c2ade0 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you!