Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 214 by [email protected]: libsocket need for libevent at Solaris
http://code.google.com/p/memcached/issues/detail?id=214

Configure can't find libevent if libsocket not linked.

Sample patch:
--- configure.orig      Thu Aug  4 18:33:59 2011
+++ configure   Thu Aug  4 18:34:47 2011
@@ -5062,7 +5062,7 @@
   le_found=no
   for ledir in $trylibeventdir "" $prefix /usr/local ; do
     LDFLAGS="$saved_LDFLAGS"
-    LIBS="$saved_LIBS -levent"
+    LIBS="$saved_LIBS -levent -lsocket"

     # Skip the directory if it isn't there.
     if test ! -z "$ledir" -a ! -d "$ledir" ; then



This is for Solaris 10 with SUN C compiler.

Reply via email to