On doing
gem install memcached
following error gets thrown.
....
....
checking for pod2man... /usr/bin/pod2man
./configure: line 22468: syntax error near unexpected token `sasl,,'
./configure: line 22468: ` AC_LIB_HAVE_LINKFLAGS(sasl,,'
make: *** [config.status] Error 2
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
I have already install libmemcached using
sudo yum install libmemcached
On Ubuntu, try doing:
I think you need to install memcache-client instead.
and you will see this:
I encountered this issue trying to install the memcached gem on Amazon's AMI Linux.
I resolved it with installing both cyrus-sasl and cyrus-sasl-devel:
as well as, and this is key:
Once these were installed