Installing libmemcached and memcached gem on Ubuntu

Quick notes for installing libmemcached and Evan Weaver’s memcached gem, in case I forget (again):

  1. 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.
  2. gem install memcached
  3. Create a symlink ln -s /usr/local/lib/libmemcached.so.2 /usr/lib/.
  4. Try it out with irb -rubygems, require 'memcached'

Comments & TrackBacks (Add yours)

The paper doll icon that precedes each comment is an idea conceived by Vanessa Tan.

There are no comments yet. Somebody say something!

You can subscribe to the RSS feed for comments on this post.

Post a comment

(required)

(required, but never displayed)


You can format your comments using XHTML. Your email address will not be displayed or used for nefarious purposes.

Only following tags are allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>