This guide assumes you're using homebrew
and asdf
.
brew install unixodbc
brew install psqlodbc
Then, from this folder run:
odbcinst -i -s -l -f priv/odbc/osx/odbc.ini
To verify that everything is fine:
$ isql -v PostgreSQL
SQL> select 1
You might have to run xcode-select --install
in order to get erlang to install.
For more context, please check out this stackoverflow
reply.
If the install fails, please ensure your asdf
and asdf-erlang
-plugin are recent and up to date.