1 首先要安装libevent
tar -xzvf libevent-2.0.21-stable.tar.gz
cd libevent-2.0.21-stable
./configure
make
make install
下面必须要做,否则启动报错
ln -s /usr/lib/libevent-2.0.so.5 /usr/lib64/libevent-2.0.so.5
2 memcached安装
cd memcached-1.4.25
./configure && make && make test && make install
ldd /usr/local/bin/memcached
本文出自 “业祥” 博客,请务必保留此出处http://yexiang.blog.51cto.com/482178/1750791
原文地址:http://yexiang.blog.51cto.com/482178/1750791