Using Oracle Instant Client with macOS Monterey

Issue

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.

Answered By – John Nowland

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published