You need the header files as well..
Trond On Oct 5, 2011 10:15 PM, "michael.s" <[email protected]> wrote: > My server contains a "standard" server build for our group that > includes the .so files but no "libevent installation" directory. > Are there specific files that the memcached configure task needs from > the libevent installation directory? > > On Oct 5, 3:34 pm, Trond Norbye <[email protected]> wrote: >> 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- Hide quoted text - >> >> - Show quoted text -
