I'm getting this error when trying to install the memcached cpan library. I have the full CPAN output if necessary.
How do I fix the incompatibility?
g++: error: -fsanitize=address is incompatible with -fsanitize=thread
make[1]: *** [libtest/core-count] Error 1
make[1]: *** Waiting for unfinished jobs....
CXXLD libtest/backtrace
copying selected object files to avoid basename conflicts...
g++: error: -fsanitize=address is incompatible with -fsanitize=thread
make[1]: *** [libtest/backtrace] Error 1
make[1]: Leaving directory `/root/.cpan/build/Memcached-libmemcached-1.001702-5amcV9/src/libmemcached'
make: *** [install] Error 2
Unable to build libmemcached: Error running cd src/libmemcached && make install
Aborted.
No 'Makefile' created WOLFSAGE/Memcached-libmemcached-1.001702.tar.gz
/usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK
cpanm -v Memcached::libmemcached
on my laptop (Ubuntu 14.04, x86_64). But I got the following error (frommake -j9 install-am
) :libtest/server_container.cc: In member function 'libtest::Server* libtest::server_startup_st::create(const string&, in_port_t, bool)': libtest/server_container.cc:241:9: error: 'HAVE_MEMCACHED_BINARY' was not declared in this scope