Zabbix configure unable to find iconv.h

While trying to configure the Zabbix agent on CentOS 6.2 I was presented with the error checking for ICONV support… configure: error: Unable to find iconv.h “no”

This only showed up when I tried the –enable-static configure option. I needed this to be able to use the compiled binaries on multiple 6.2 machines.

After a lot of searching I found that I simply needed to install the glibc-static RPM. Problem solved.

Hope this helps