Memcached rubygem error: ‘sasl_callback_t’ undeclared (first use in this function)
You may get the following error when installing the Memcached rubygem
error: ‘sasl_callback_t’ undeclared (first use in this function)
you need to clean the directory
foo@bar:~: cd /var/lib/gems/1.8/gems/memcached-1.2.6;rake clean
Install the packages
foo@bar:~: sudo apt-get install libsasl2-2 libsasl2-dev
Reinstall
foo@bar:~: sudo gem install memcached












