node.jsoracleexpress

Using Oracle Instant Client with macOS Monterey


I’m having this issue installing the Oracle instant client on my MacBook Air M1:

DPI-1047 cannot locate 64-bit oracle client library dlopen(libclntsh.dlyb)

Someone already did it before?


Solution

  • You can download the "Basic Package" zip for version 19.8.0.0.0: https://www.oracle.com/database/technologies/instant-client/macos-intel-x86-downloads.html

    Once you have downloaded, unzip the files and move them to /usr/local/lib folder. This should solve your issue.

    You may run into a security issue opening the files, in that case you will need to open them individually on the finder in order to manually allow mac to trust them.