This is the documentation page for an unsupported version of Zabbix. Is this not what you were looking for? Switch to the current version or choose one from the drop-down menu.
When building with libxml2, pkg-config is now used instead of xml2-config to detect and use libxml2, as xml2-config is to be removed from libxml2 in the future.