Updates:
Summary: librt need to link with a static archive of libevent for
platforms using clock_gettime
Status: Fixed
Comment #3 on issue 213 by [email protected]: librt need to link with a
static archive of libevent for platforms using clock_gettime
http://code.google.com/p/memcached/issues/detail?id=213
Just out of curiosity: why?
Not only will using a static archive require you to recompile _all_
programs using libevent when someone release a new version that fix a bug
you're seeing, but in addition to that you won't share the memory pages
making up libevent between all of the applications using it..
This is an implicit dependency of libevent, so it feels a bit weird to
search for it in memcacheds configure... The problem is however not solaris
specific and applies to all systems where libevent requires a clock
functionality from librt (like linux etc)
Since this seems to be a "frequent" problem I guess searching for
clock_gettime and add it won't hurt (we do that already in the engine-pu
branch)