This articles talks about the utility odbc_config.
It permits to retrieve scalar configuration information.
For the configuration of DSN, see ODBC - odbcinst (odbc installer)
odbc_config --longodbcversion
3.52
odbc_config --version
2.3.2
odbc_config --odbcversion
3
odbc_config --odbcini
/etc/odbc.ini
odbc_config --odbcinstini
/etc/odbcinst.ini
odbc_config --prefix
/usr/local