gearman / gearmand

http://gearman.org/
Other
740 stars 137 forks source link

I cannot use libmemcached as the "Persistent Queues" #26

Closed zhyee closed 8 years ago

zhyee commented 8 years ago

I have installed the libmemcached library, but when I install gearmand and run "./configure", it's show info like below :

LDFLAGS Flags:

Thus I finish to install gearmand , "libmemched persistence" cannot be used. below is the error:

[root@localhost gearmand-1.1.12]# /usr/local/gearmand/sbin/gearmand -q libmemcached --libmemcached-servers=127.0.0.1 /usr/local/gearmand/sbin/gearmand: unknown option libmemcached-servers

This is my libmemcached installed [root@localhost libmemcached]# ls /usr/local/libmemcached/ bin include lib share

I now have no idear to solve this issue, is anyone can help me!

SpamapS commented 8 years ago

Hi! You'd need to have libmemcached.a in your ld.so path, such as /usr/local/lib, for the configure script to find it. Or you can add --with-libmemcached=/usr/local/libmemcached