/usr/bin/clang++ -o build/opt/mongo/s/commands/cluster_shard_collection_cmd.o -c -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -std=c++14 -I/usr/local/opt/openssl/include -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fstack-protector-strong -fno-builtin-memcmp -DPCRE_STATIC -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/install/include -Isrc/third_party/pcre-8.41 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_shard_collection_cmd.cpp
Undefined symbols for architecture x86_64:
"_BIO_snprintf", referenced from:
_handleErrors in libwiredtiger.a(encryption_extension.o)
"_ERR_error_string_n", referenced from:
_handleErrors in libwiredtiger.a(encryption_extension.o)
"_ERR_get_error_line_data", referenced from:
_handleErrors in libwiredtiger.a(encryption_extension.o)
"_EVP_CIPHER_CTX_cleanup", referenced from:
_percona_encrypt_cbc in libwiredtiger.a(encryption_extension.o)
_percona_decrypt_cbc in libwiredtiger.a(encryption_extension.o)
_percona_encrypt_gcm in libwiredtiger.a(encryption_extension.o)
_percona_decrypt_gcm in libwiredtiger.a(encryption_extension.o)
"_EVP_CIPHER_CTX_ctrl", referenced from:
_percona_encrypt_gcm in libwiredtiger.a(encryption_extension.o)
_percona_decrypt_gcm in libwiredtiger.a(encryption_extension.o)
"_EVP_CIPHER_CTX_init", referenced from:
_percona_encrypt_cbc in libwiredtiger.a(encryption_extension.o)
_percona_decrypt_cbc in libwiredtiger.a(encryption_extension.o)
_percona_encrypt_gcm in libwiredtiger.a(encryption_extension.o)
_percona_decrypt_gcm in libwiredtiger.a(encryption_extension.o)
"_EVP_CIPHER_block_size", referenced from:
_percona_encrypt_cbc in libwiredtiger.a(encryption_extension.o)
_percona_sizing_cbc in libwiredtiger.a(encryption_extension.o)
"_EVP_CIPHER_iv_length", referenced from:
_percona_encryption_extension_init in libwiredtiger.a(encryption_extension.o)
"_EVP_DecryptFinal_ex", referenced from:
_percona_decrypt_cbc in libwiredtiger.a(encryption_extension.o)
_percona_decrypt_gcm in libwiredtiger.a(encryption_extension.o)
"_EVP_DecryptInit_ex", referenced from:
_percona_decrypt_cbc in libwiredtiger.a(encryption_extension.o)
_percona_decrypt_gcm in libwiredtiger.a(encryption_extension.o)
"_EVP_DecryptUpdate", referenced from:
_percona_decrypt_cbc in libwiredtiger.a(encryption_extension.o)
_percona_decrypt_gcm in libwiredtiger.a(encryption_extension.o)
"_EVP_EncryptFinal_ex", referenced from:
_percona_encrypt_cbc in libwiredtiger.a(encryption_extension.o)
_percona_encrypt_gcm in libwiredtiger.a(encryption_extension.o)
"_EVP_EncryptInit_ex", referenced from:
_percona_encrypt_cbc in libwiredtiger.a(encryption_extension.o)
_percona_encrypt_gcm in libwiredtiger.a(encryption_extension.o)
"_EVP_EncryptUpdate", referenced from:
_percona_encrypt_cbc in libwiredtiger.a(encryption_extension.o)
_percona_encrypt_gcm in libwiredtiger.a(encryption_extension.o)
"_EVP_aes_256_cbc", referenced from:
_percona_encryption_extension_init in libwiredtiger.a(encryption_extension.o)
"_EVP_aes_256_gcm", referenced from:
_percona_encryption_extension_init in libwiredtiger.a(encryption_extension.o)
"percona_encryption_extension_init", referenced from:
-u command line option
(maybe you meant: _percona_encryption_extension_init)
/usr/bin/clang++ -o build/opt/mongo/s/commands/cluster_coll_stats_cmd.o -c -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -std=c++14 -I/usr/local/opt/openssl/include -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -Wunguarded-availability -fstack-protector-strong -fno-builtin-memcmp -DPCRE_STATIC -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/install/include -Isrc/third_party/pcre-8.41 -Isrc/third_party/boost-1.60.0 -Ibuild/opt -Isrc src/mongo/s/commands/cluster_coll_stats_cmd.cpp
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
scons: *** [build/opt/mongo/mongod] Error 1
scons: building terminated because of errors.
build/opt/mongo/mongod failed: Error 1
python2 buildscripts/scons.py --inmemory --wiredtiger --disable-warnings-as-errors all
Compiling build/opt/mongo/shell/mongodbcr.o
Compiling build/opt/mongo/shell/dbshell.o
Linking build/opt/mongo/mongo
Undefined symbols for architecture x86_64:
"percona_encryption_extension_init", referenced from:
-u command line option
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
scons: *** [build/opt/mongo/mongo] Error 1
scons: building terminated because of errors.
build/opt/mongo/mongo failed: Error 1