Skip to content

Instantly share code, notes, and snippets.

@pottsga
Last active September 7, 2023 18:50
Show Gist options
  • Save pottsga/81fe7aa57d8ebd44a88f027f80cf8179 to your computer and use it in GitHub Desktop.
Save pottsga/81fe7aa57d8ebd44a88f027f80cf8179 to your computer and use it in GitHub Desktop.
How to install Oracle Instant Client on macOS for both Intel x86_64 architectures as well as Apple's own silicon the M1 chipset.

Note (Read Me)

As of 12/14/2021, Oracle does not yet support Apple Silicon (arm64e). Due to this, it is necessary to leverage Rosetta v2. You can do this by clicking the iTerm/Terminal.app icon in Applications, clicking Get Info, and checking Open with Rosetta. Close out completely and restart app.

Install Instant Client

  1. Download Basic Package (ZIP) (instantclient-basic-macos.x64-19.8.0.0.0dbru.zip) Instant Client for macOS (Intel x86)
  2. Unzip
  3. mv instantclient_19_8 /usr/local/lib
  4. ln -s /usr/local/lib/libclntsh.dylib /usr/local/lib/libclntsh.dylib
@byudanb
Copy link

byudanb commented Jun 8, 2023

/usr/local/lib does not exist. Please advise.

@usuhamlet
Copy link

/usr/local/lib does not exist. Please advise.

You will need to create the directory either through Finder or in the terminal.

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