error: memcached support requires ZLIB. Use --with-zlib-dir=to specify the prefix where ZLIB

yum install zlib-devel

转载于:https://www.cnblogs.com/lovezhaolei/p/4249894.html