Installing libmemcached and memcached gem on Ubuntu
Quick notes for installing libmemcached and Evan Weaver’s memcached gem, in case I forget (again):
- Get libmemcached source from http://tangent.org/552/libmemcached.html. Configure, make, make install. Make sure you get a version compatible with the Ruby memcached gem by opening the COMPATIBILITY file in the memcached gem files.
gem install memcached
- Create a symlink
ln -s /usr/local/lib/libmemcached.so.2 /usr/lib/.
- Try it out with