Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libmemcache is too old, found and we need 0.39 #3755

Closed
GasimGasimzada opened this issue Sep 15, 2014 · 3 comments
Closed

libmemcache is too old, found and we need 0.39 #3755

GasimGasimzada opened this issue Sep 15, 2014 · 3 comments
Labels

Comments

@GasimGasimzada
Copy link

I have downloaded the source, compiled, and built the memcached library. The include files are in /usr/local/include/libmemcached. The configure.h has a line #define LIBMEMCACHED_VERSION_STRING "0.39". So the version is correct. The library files are located under /usr/local/lib. The version is 0.39. I would have used the 0.48 one also if ./configure actually succeeded. This is the command that I used:

 ./configure -DLIBMEMCACHED_LIBRARY_DIR=/usr/local/lib/libmemcached.so -DLIBMEMCACHED_INCLUDE_DIR=/usr/local/include/libmemcached

How can I make this configuration succeed?

@paulbiss paulbiss added the build label Sep 15, 2014
@auroraeosrose
Copy link

This looks like an issue with the change made to use only pkg-config to find libmemcached, when you build it yourself no .pc information is generated so the cmake config fails - need to alter the cmake search to look for custom installs and not ONLY use pkg-config

@sandeepone
Copy link

You can use custom pkg-config file to point your installed memcache, i just copied the pc file one rpm installs and modified to suit my path

@GasimGasimzada
Copy link
Author

Memcached was one crazy library for this compilation. After spending several hours I found the problem. When compiling memcached 0.39 or 0.48 from the source (since the least version is 0.38), first of all I enabled the flag --enable-64bit, then I threw the library files and the pkgconfig from default /usr/lib to /usr/lib64 and everything worked perfectly. After that pkg-config --list-all shows libmemcached in the list and everything after that worked perfectly.

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants