this is not a hard problem

frist,you can use "ldd" to confirm that is memcache cant find libevent.

 ldd -v /path/to/your/memcache

if yes, will show no find libevent.

second, you say there have been  the libevent,so it is because your memcache
cant iknow libevent path.let us tell your memcache to where find libevent.


there is 3 solutions.

1,you can use
LD_DEBUG=libs /path/to/your/memcached -v
it will show the path in that your memcache try to find the libevent.So
,only make this path(mecache use) link to your libevent

2.every before run memcache
export  LD_RUN_PATH=/path/to/your/libevent

3.if your libevent is not in OS's lib dir,So,memcache cant find it.Before
complie memcache
export LD_LIBRARY_PATH=/path/to/your/libevent

So,memcache will remember this path forever,

language is big problem

Reply via email to