You need to specify the "root" of your libevent installation, so if you built libevent with: ./configure --prefix=$HOME/my-libevent , you should use --with-libevent=$HOME/my-libevent
If you installed a static arcive you would probably want to add LDFLAGS=-lrt .. CHeers, Trond On Wed, Oct 5, 2011 at 9:21 PM, michael.s <[email protected]> wrote: > I'm trying to install memcached (1.4.5) on Linux (Boron 5.5). My > machine already has the libevent .so files (libevent-1.4.so.2, > libevent_core-1.4.so.2, libevent_extra-1.4.so.2). Admin policy won't > allow me to load the libevent source files onto this machine and > follow the normal build instructions. > > I have tried running the memcached configure command using --with- > libevent=/dir_where_so_files_reside/ > but this fails with the message: > > checking for libevent directory... configure: error: libevent is > required. You can get it from .... > > Can this be done? > > Does memcached use static or dynamic links to libevent? > > Thanks, > > Hoping to find a way to use memcached > -- Trond Norbye
