Erlang, asdf, Big Sur, and ARM64

brew install unixodbc
odbc_version='2.3.9_1'
sudo ln -s /opt/homebrew/Cellar/unixodbc/$odbc_version/ /usr/local/odbc
sudo chown -R $(whoami) /usr/local/odbc/

export CC="/usr/bin/gcc -I/opt/homebrew/Cellar/unixodbc/$odbc_version/include"
export LDFLAGS="-L/opt/homebrew/Cellar/unixodbc/$odbc_version/lib"
export KERL_CONFIGURE_OPTIONS="
      --disable-debug \
      --disable-silent-rules \
      --enable-dynamic-ssl-lib \
      --disable-hipe \
      --enable-shared-zlib \
      --enable-smp-support \
      --enable-threads \
      --without-wx \
      --with-ssl=$(brew --prefix openssl@1.1) \
      --enable-darwin-64bit \
      --enable-kernel-poll \
      --with-dynamic-trace=dtrace \
     "

(No matter what I tried, I couldn't get either wxwidgets or the deprecated wxmac to work, hence the --without-wx flag.)

Then, finally, asdf install erlang 24.1.7 succeeded.