Installing Erlang via asdf

Quick note about setting the correct env for Erlang

Installing Erlang via asdf
Photo by Markus Spiske / Unsplash
$ export CPPFLAGS="${CPPFLAGS+"$CPPFLAGS "}-I/opt/homebrew/opt/unixodbc/include"
$ export LDFLAGS="${LDFLAGS+"$LDFLAGS "}-L/opt/homebrew/opt/unixodbc/lib"
$ export KERL_CONFIGURE_OPTIONS="--with-odbc=/opt/homebrew/opt/unixodbc"
$ asdf install erlang 27.0

To install Erlang via asdf on a macOS system with ODBC I need to set those env vars to have it compile correctly.