error while installing the libmemcached

I suspect that this error caused by the older version of libtool:

# rpm -qi libtool

Remove the binary (yum remove libtool), download the latest version, compile with --prefix=/usr and try again.


Upgrade your C compiler. See here

GCC version is too old