I ran into this problem while trying to install memcached gem on Amazon AMI Linux.
I resolved it with the installation of both cyrus-sasl and cyrus-sasl-devel:
cyrus-sasl.i686 : The Cyrus SASL library cyrus-sasl-devel.i686 : Files needed for developing applications with Cyrus SASL
as well, and this is the key:
gettext.i686 : GNU libraries and utilities for producing multi-lingual messages gettext-devel.i686 : Development files for gettext
Once they were installed
sudo gem install memcached Building native extensions. This could take a while... Successfully installed memcached-1.3.5 1 gem installed
source share