Skip to content

Instantly share code, notes, and snippets.

@melo
Created October 4, 2014 14:06
Show Gist options
  • Save melo/9cc6bae89f608d779820 to your computer and use it in GitHub Desktop.
Save melo/9cc6bae89f608d779820 to your computer and use it in GitHub Desktop.
redis 2.8.17 fails to compile with brew on Mac OS X 10.8.5..
LINK redis-server
Undefined symbols for architecture x86_64:
"___atomic_add_fetch", referenced from:
_zmalloc in zmalloc.o
_zcalloc in zmalloc.o
_zrealloc in zmalloc.o
_zmalloc_used_memory in zmalloc.o
"___atomic_sub_fetch", referenced from:
_zrealloc in zmalloc.o
_zfree in zmalloc.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [redis-server] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment