libxml2-v2.9.13 has linking issues when configured without-valid
CC xzlib.lo CCLD libxml2.la CC testdso.lo CCLD testdso.la CC xmllint.o CCLD xmllint ./.libs/libxml2.so: undefined reference to `xmlValidNormalizeString' collect2: error: ld returned 1 exit status Makefile:1112: recipe for target 'xmllint' failed make[4]: *** [xmllint] Error 1
Comparing the valid.c in 2.9.13 with the one from 2.9.3, I think that the xmlValidNormalizeString should not be compiled out if LIBXML_VALID_ENABLED.