尝试安装memcached cpan库时出现此错误。如有必要,我有完整的CPAN输出。
如何修复不兼容性?
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
答案 0 :(得分:1)
我刚刚成功安装了可以解决此错误的工作开发人员版本:
$ cpan
$ install SEANBURKE/Memcached-libmemcached-1.001800-TRIAL1.tar.gz