I got a similar error when installing subversion. Here's what worked for me:
sudo port install kerberos5
sudo port install subversion
... which for you would be libmemcached
So, what worked for me was to separately install kerberos5. Then, when subversion (libmemcached) is installed it finds it and the bug that causes it to fail when it doesn't find it doesn't happen.