memcached installation

Paul Querna chip at corelands.com
Mon Oct 3 14:09:47 PDT 2005


Tarek Ziadé wrote:
> Hi all,
> 
> Sorry if this was previously asked, I cannot find anything related in
> the archive thaugh.
> 
> I have installed libevent-1.1a and then the latest memcached
> 
> it compiles without problem, but then complains about the shared library
> 
> [tziade at Tarek memcached-1.1.12]$ memcached
> memcached: error while loading shared libraries: libevent-1.1a.so.1:
> cannot open shared object file: No such file or directory
> 
> The lib is located as usual in /usr/local/lib

FWIW, I have been hacking the build stuff to statically link in libevent:

--- memcached/Makefile.am
+++ memcached/Makefile.am
@@ -1,6 +1,7 @@
 bin_PROGRAMS = memcached

 memcached_SOURCES = memcached.c slabs.c items.c memcached.h assoc.c
+memcached_LDADD = ../libevent/.libs/libevent.a


-Paul


More information about the memcached mailing list