facebook / facebook/wangle

Build failure on Mac

Open
#127 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
3.1k
Forks
547
PR merge metrics
No merged PRs in 30d

Description

Build failure with the following message:

Undefined symbols for architecture x86_64:
"_X509_get_signature_nid", referenced from:
wangle::SSLContextManager::insert(std::__1::shared_ptr, 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)

The solution is to specify correct openssl directory, such as:

cmake -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DOPENSSL_LIBRARIES=/usr/local/opt/openssl/lib/

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.