Last active
April 30, 2021 08:37
-
-
Save sundayguru/c370211bad2f45d155c7e7a139aed431 to your computer and use it in GitHub Desktop.
'libmemcached/memcached.h' file not found error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Error: src/_pylibmcmodule.h:42:10: fatal error: 'libmemcached/memcached.h' file not found | |
#include <libmemcached/memcached.h> | |
^ | |
1 error generated. | |
error: command '/usr/bin/clang' failed with exit status 1 | |
Solution: | |
brew install libmemcached | |
If Error: You must `brew link libevent memcached` before libmemcached can be installed | |
RUN: | |
brew link libevent memcached | |
If Error: Could not symlink share/man/man3/BEV_ERROR.3 | |
/usr/local/share/man/man3 is not writable. | |
RUN: | |
sudo chmod 777 /usr/local/share/man/man1 | |
sudo chmod 777 /usr/local/share/man/man3 | |
THEN: | |
brew install libmemcached |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment