Closed lizhanhui closed 6 years ago
Hey, the master code fails to build on Mac.
[ 56%] Linking CXX executable bin/SSLContextManagerTest Undefined symbols for architecture x86_64: "_X509_get_signature_nid", referenced from: wangle::SSLContextManager::insert(std::__1::shared_ptr<wangle::ServerSSLContext>, bool, wangle::SSLContextManager::SslContexts&) in libwangle.a(SSLContextManager.cpp.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[2]: *** [bin/SSLContextManagerTest] Error 1 make[1]: *** [CMakeFiles/SSLContextManagerTest.dir/all] Error 2 make: *** [all] Error 2
Version of clang is:
Apple LLVM version 8.1.0 (clang-802.0.42) Target: x86_64-apple-darwin16.6.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin
recompile openssl with ./Configure darwin64-x86_64-cc
Possibly this issue: https://github.com/phpbrew/phpbrew/issues/947.
Hey, the master code fails to build on Mac.
Version of clang is: