Sorry for asking this question. Did the modules actually build?
In case they didn’t, a necessary prerequisite is that the packages unixODBC and unixODBC-devel are on board. Hidden somewhere in the source tree is a script that installs all required rpm packages, though I haven’t used it for while myself. Otherwise you need to install all prerequisites yourself.
When you are running command ls /usr/lib64/asterisk/modules/ | grep odbc it should return many files, but it is not returning anything, that mean your modules are not compiled.
To fix the issue you should check if all requirements are complete. You can run command into the asterisk16 source directory
cd contrib/scripts
./install_prereq
It will check and install all missing dependency in the system then you can make menuselect and reslect save, exit does recompile.