It was a bug with hhvm which does not found a libmemcached.so. So we had added libmemcached-dev