There are libraries which are reported in printversion(), but not reported in setup(). Synchronize the functions, so that the log file could have the same information as reported by the 'named -V' command execution.