Trouble trying to install ODBC driver 12.2 on MAC

Camilo E. Zamorano

    I've been having a really hard time trying to install the ODBC driver on mac, i followed several instructions, for example these two:

    - https://community.oracle.com/thread/4120787

    - https://blogs.oracle.com/opal/installing-the-oracle-odbc-driver-on-macos

     

    And i just can't make it work. I have been searching tutorials on a bunch of sites: stackoverflow, youtube, etc but i just can't make it work.

     

    About the blog link: when trying to run the following statement

     

    sudo odbc_update_ini.sh /usr/local

    I got the following error:

     

    sudo: odbc_update_ini.sh: command not found

     

    So i just used

     

    sudo sh odbc_update.ini.sh /usr/local

     

    And got:

     

    *** ODBCINI environment variable not set,defaulting it to HOME directory! *** ODBCINI environment variable not set,defaulting it to HOME directory!

     

     

    No idea what that means honestly.

     

    Lastly i tried connecting to the database through isql on the terminal as follows:

     

    isql OracleODBC-12c dsn user password  | isql OracleODBC-12c  user password

    and it doesn't work .

     

    Please help me, i'm kind of freaking out.

     

    Thanks in advance!