Not found z library when compiling zabbix-server
===

I have a problem with compiling zabbix-server on CentOS 6.2.
Command line is: 

    ./configure --enable-server --with-mysql --with-net-snmp --with-libcurl 
    --with-jabber --with-ssh2 --with-openipmi --with-ldap --enable-static

But error occures:

    checking for main in -lz... no
    configure: error: Not found z library;

Full configure output is here:  http://pastebin.ru/WmDP7UL0

I already tried to do:

    yum install zlib zlib-devel zlib-static zlibrary zlibrary-devel

But it was unsuccessfully. 

Thank you for your attention.