Today, I have been playing around with memcached for almost a day. In the end, I have installed memcached correctly and successfully ......
The process is very simple, that is, after decompression,./configure --> make install will soon succeed. Then install libmemcached ...... After installation, it seems to be useless ...... Originally, this is a clien API, and most examples Use 3 P (Python, PHP, Perl) for calling. based on actual needs, I must use C for calling, this is also written in C, ...... It won't be called. The reference cannot be found for half a day during analysis, and the dependency cannot be found ...... I even found the Directory and didn't find out where to install it !!
After checking the information, I thought it was./configure with no parameters, so I used./configure -- prefix =/usr to install it again ...... Several gadgets are automatically attached after installation, but an error occurs! However, the error message reminds me that the connection is not established!
So the command is immediately appended:Ln-S/usr/local/lib/libmemcached. so.2/usr/lib/
Run memstat again. It is successful, but it will not be used ......
We will do a lot more