Installing libmemcached and memcached gem on Ubuntu
In: Asides|Ruby
31
Mar
2008
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
irb -rubygems, require 'memcached'
Comments are closed.