docker 环境编译源码出错

在最新的 docker 中编译最新的main 分支代码,执行 ./build.sh 出错

[100%] Linking CXX executable …/…/…/output/lib/starrocks_be
/var/local/thirdparty/installed//lib64/libarrow.a(memory_pool.cc.o): In function DeallocateAligned': /var/local/thirdparty/src/arrow-apache-arrow-5.0.0/cpp/src/arrow/memory_pool.cc:261: undefined reference to je_arrow_free’
/var/local/thirdparty/src/arrow-apache-arrow-5.0.0/cpp/src/arrow/memory_pool.cc:317: undefined reference to je_arrow_dallocx' /var/local/thirdparty/installed//lib64/libarrow.a(memory_pool.cc.o): In function AllocateAligned’:
/var/local/thirdparty/src/arrow-apache-arrow-5.0.0/cpp/src/arrow/memory_pool.cc:213: undefined reference to je_arrow_posix_memalign' /var/local/thirdparty/installed//lib64/libarrow.a(memory_pool.cc.o): In function DeallocateAligned’:
/var/local/thirdparty/src/arrow-apache-arrow-5.0.0/cpp/src/arrow/memory_pool.cc:261: undefined reference to je_arrow_free' /var/local/thirdparty/installed//lib64/libarrow.a(memory_pool.cc.o): In function AllocateAligned’:
/var/local/thirdparty/src/arrow-apache-arrow-5.0.0/cpp/src/arrow/memory_pool.cc:213: undefined reference to je_arrow_posix_memalign' /var/local/thirdparty/installed//lib64/libarrow.a(memory_pool.cc.o): In function ReallocateAligned’:
/var/local/thirdparty/src/arrow-apache-arrow-5.0.0/cpp/src/arrow/memory_pool.cc:248: undefined reference to je_arrow_free' /var/local/thirdparty/installed//lib64/libarrow.a(memory_pool.cc.o): In function AllocateAligned’:
/var/local/thirdparty/src/arrow-apache-arrow-5.0.0/cpp/src/arrow/memory_pool.cc:213: undefined reference to je_arrow_posix_memalign' /var/local/thirdparty/installed//lib64/libarrow.a(memory_pool.cc.o): In function arrow::jemalloc_set_decay_ms(int)’:
/var/local/thirdparty/src/arrow-apache-arrow-5.0.0/cpp/src/arrow/memory_pool.cc:568: undefined reference to je_arrow_mallctl' /var/local/thirdparty/src/arrow-apache-arrow-5.0.0/cpp/src/arrow/memory_pool.cc:571: undefined reference to je_arrow_mallctl’
/var/local/thirdparty/installed//lib64/libarrow.a(memory_pool.cc.o): In function DeallocateAligned': /var/local/thirdparty/src/arrow-apache-arrow-5.0.0/cpp/src/arrow/memory_pool.cc:317: undefined reference to je_arrow_dallocx’
/var/local/thirdparty/installed//lib64/libarrow.a(memory_pool.cc.o): In function ReallocateAligned': /var/local/thirdparty/src/arrow-apache-arrow-5.0.0/cpp/src/arrow/memory_pool.cc:305: undefined reference to je_arrow_rallocx’
/var/local/thirdparty/installed//lib64/libarrow.a(memory_pool.cc.o): In function AllocateAligned': /var/local/thirdparty/src/arrow-apache-arrow-5.0.0/cpp/src/arrow/memory_pool.cc:286: undefined reference to je_arrow_mallocx’
/var/local/thirdparty/src/arrow-apache-arrow-5.0.0/cpp/src/arrow/memory_pool.cc:286: undefined reference to je_arrow_mallocx' /var/local/thirdparty/installed//lib64/libarrow.a(memory_pool.cc.o): In function arrow::BaseMemoryPoolImpl<arrow::(anonymous namespace)::JemallocAllocator>::ReleaseUnused()’:
/var/local/thirdparty/src/arrow-apache-arrow-5.0.0/cpp/src/arrow/memory_pool.cc:322: undefined reference to `je_arrow_mallctl’
collect2: error: ld returned 1 exit status
make[2]: *** […/output/lib/starrocks_be] Error 1
make[1]: *** [src/service/CMakeFiles/starrocks_be.dir/all] Error 2
make: *** [all] Error 2

麻烦更新一下starrocks/dev-env-centos7:latest 或者starrocks/dev-env-ubuntu:latest, 编译依赖的三方库需要更新.

[100%] Linking CXX executable …/…/…/output/lib/starrocks_be

/home/apps/starrocks/thirdparty/installed/lib64/libaws-cpp-sdk-core.a(ub_core.cpp.o): In function `Aws::Utils::Crypto::OpenSSLCipher::Init()’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp:448: undefined reference to `EVP_CIPHER_CTX_init’

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp:458: undefined reference to `EVP_CIPHER_CTX_init’

/home/apps/starrocks/thirdparty/installed/lib64/libaws-cpp-sdk-core.a(ub_core.cpp.o): In function `Aws::Utils::Crypto::OpenSSLCipher::OpenSSLCipher(Aws::Utils::Crypto::OpenSSLCipher&&)’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp:400: undefined reference to `EVP_CIPHER_CTX_cleanup’

/home/apps/starrocks/thirdparty/installed/lib64/libaws-cpp-sdk-core.a(ub_core.cpp.o): In function `Aws::Utils::Crypto::OpenSSLCipher::Cleanup()’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp:573: undefined reference to `EVP_CIPHER_CTX_cleanup’

/home/apps/starrocks/thirdparty/installed/lib64/libaws-cpp-sdk-core.a(ub_core.cpp.o): In function `Aws::Utils::Crypto::OpenSSL::init_static_state()’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp:65: undefined reference to `ERR_load_crypto_strings’

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp:70: undefined reference to `OPENSSL_add_all_algorithms_noconf’

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp:73: undefined reference to `CRYPTO_get_locking_callback’

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp:80: undefined reference to `CRYPTO_get_id_callback’

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp:75: undefined reference to `CRYPTO_num_locks’

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp:77: undefined reference to `CRYPTO_set_locking_callback’

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp:80: undefined reference to `CRYPTO_get_id_callback’

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp:82: undefined reference to `CRYPTO_set_id_callback’

/home/apps/starrocks/thirdparty/installed/lib64/libaws-cpp-sdk-core.a(ub_core.cpp.o): In function `Aws::Utils::Crypto::OpenSSL::cleanup_static_state()’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp:91: undefined reference to `CRYPTO_get_locking_callback’

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp:99: undefined reference to `CRYPTO_get_id_callback’

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp:93: undefined reference to `CRYPTO_set_locking_callback’

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp:99: undefined reference to `CRYPTO_get_id_callback’

/home/apps/starrocks/thirdparty/installed/lib64/libaws-cpp-sdk-core.a(ub_core.cpp.o): In function `Aws::Utils::Crypto::OpensslCtxRAIIGuard::OpensslCtxRAIIGuard()’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp:154: undefined reference to `EVP_MD_CTX_create’

/home/apps/starrocks/thirdparty/installed/lib64/libaws-cpp-sdk-core.a(ub_core.cpp.o): In function `Aws::Utils::Crypto::OpensslCtxRAIIGuard::~OpensslCtxRAIIGuard()’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp:160: undefined reference to `EVP_MD_CTX_destroy’

/home/apps/starrocks/thirdparty/installed/lib64/libaws-cpp-sdk-core.a(ub_core.cpp.o): In function `Aws::Utils::Crypto::OpensslCtxRAIIGuard::OpensslCtxRAIIGuard()’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp:154: undefined reference to `EVP_MD_CTX_create’

/home/apps/starrocks/thirdparty/installed/lib64/libaws-cpp-sdk-core.a(ub_core.cpp.o): In function `Aws::Utils::Crypto::OpensslCtxRAIIGuard::~OpensslCtxRAIIGuard()’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp:160: undefined reference to `EVP_MD_CTX_destroy’

/home/apps/starrocks/thirdparty/installed/lib64/libaws-cpp-sdk-core.a(ub_core.cpp.o): In function `Aws::Utils::Crypto::OpensslCtxRAIIGuard::OpensslCtxRAIIGuard()’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp:154: undefined reference to `EVP_MD_CTX_create’

/home/apps/starrocks/thirdparty/installed/lib64/libaws-cpp-sdk-core.a(ub_core.cpp.o): In function `Aws::Utils::Crypto::OpensslCtxRAIIGuard::~OpensslCtxRAIIGuard()’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp:160: undefined reference to `EVP_MD_CTX_destroy’

/home/apps/starrocks/thirdparty/installed/lib64/libaws-cpp-sdk-core.a(ub_core.cpp.o): In function `Aws::Utils::Crypto::OpensslCtxRAIIGuard::OpensslCtxRAIIGuard()’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp:154: undefined reference to `EVP_MD_CTX_create’

/home/apps/starrocks/thirdparty/installed/lib64/libaws-cpp-sdk-core.a(ub_core.cpp.o): In function `Aws::Utils::Crypto::OpensslCtxRAIIGuard::~OpensslCtxRAIIGuard()’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp:160: undefined reference to `EVP_MD_CTX_destroy’

/home/apps/starrocks/thirdparty/installed/lib64/libaws-cpp-sdk-core.a(ub_core.cpp.o): In function `Aws::Utils::Crypto::OpensslCtxRAIIGuard::OpensslCtxRAIIGuard()’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp:154: undefined reference to `EVP_MD_CTX_create’

/home/apps/starrocks/thirdparty/installed/lib64/libaws-cpp-sdk-core.a(ub_core.cpp.o): In function `Aws::Utils::Crypto::OpensslCtxRAIIGuard::~OpensslCtxRAIIGuard()’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp:160: undefined reference to `EVP_MD_CTX_destroy’

/home/apps/starrocks/thirdparty/installed/lib64/libaws-cpp-sdk-core.a(ub_core.cpp.o): In function `Aws::Utils::Crypto::OpensslCtxRAIIGuard::OpensslCtxRAIIGuard()’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp:154: undefined reference to `EVP_MD_CTX_create’

/home/apps/starrocks/thirdparty/installed/lib64/libaws-cpp-sdk-core.a(ub_core.cpp.o): In function `Aws::Utils::Crypto::OpensslCtxRAIIGuard::~OpensslCtxRAIIGuard()’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp:160: undefined reference to `EVP_MD_CTX_destroy’

/home/apps/starrocks/thirdparty/installed/lib64/libaws-cpp-sdk-core.a(ub_core.cpp.o): In function `Aws::Utils::Crypto::Sha256HMACOpenSSLImpl::Calculate(Aws::Utils::Array const&, Aws::Utils::Array const&)’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp:363: undefined reference to `HMAC_CTX_init’

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp:372: undefined reference to `HMAC_CTX_cleanup’

/home/apps/starrocks/thirdparty/installed/lib64/libaws-cpp-sdk-core.a(ub_core.cpp.o): In function `Aws::Utils::Crypto::OpenSSLCipher::OpenSSLCipher(Aws::Utils::Crypto::OpenSSLCipher&&)’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp:401: undefined reference to `EVP_CIPHER_CTX_cleanup’

/home/apps/starrocks/thirdparty/installed/lib64/libaws-cpp-sdk-core.a(ub_core.cpp.o): In function `Aws::Utils::Crypto::OpenSSLCipher::Cleanup()’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp:574: undefined reference to `EVP_CIPHER_CTX_cleanup’

/home/apps/starrocks/thirdparty/installed/lib64/libaws-cpp-sdk-core.a(ub_core.cpp.o): In function `Aws::Utils::Crypto::OpenSSL::cleanup_static_state()’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/aws-cpp-sdk-core/source/utils/crypto/openssl/CryptoImpl.cpp:101: undefined reference to `CRYPTO_set_id_callback’

/home/apps/starrocks/thirdparty/installed/lib64/libs2n.a(s2n_connection.c.o): In function `s2n_connection_get_peer_cert_chain’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/tls/s2n_connection.c:1395: undefined reference to `sk_value’

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/tls/s2n_connection.c:1394: undefined reference to `sk_num’

/home/apps/starrocks/thirdparty/installed/lib64/libs2n.a(s2n_prf.c.o): In function `s2n_evp_hmac_p_hash_free’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/tls/s2n_prf.c:202: undefined reference to `EVP_MD_CTX_destroy’

/home/apps/starrocks/thirdparty/installed/lib64/libs2n.a(s2n_prf.c.o): In function `s2n_evp_hmac_p_hash_wipe’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/tls/s2n_prf.c:174: undefined reference to `EVP_MD_CTX_cleanup’

/home/apps/starrocks/thirdparty/installed/lib64/libs2n.a(s2n_prf.c.o): In function `s2n_evp_hmac_p_hash_new’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/tls/s2n_prf.c:99: undefined reference to `EVP_MD_CTX_create’

/home/apps/starrocks/thirdparty/installed/lib64/libs2n.a(s2n_prf.c.o): In function `s2n_evp_hmac_p_hash_wipe’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/tls/s2n_prf.c:174: undefined reference to `EVP_MD_CTX_cleanup’

/home/apps/starrocks/thirdparty/installed/lib64/libs2n.a(s2n_x509_validator.c.o): In function `s2n_x509_validator_init_no_x509_validation’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/tls/s2n_x509_validator.c:147: undefined reference to `sk_new_null’

/home/apps/starrocks/thirdparty/installed/lib64/libs2n.a(s2n_x509_validator.c.o): In function `s2n_x509_validator_init’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/tls/s2n_x509_validator.c:163: undefined reference to `sk_new_null’

/home/apps/starrocks/thirdparty/installed/lib64/libs2n.a(s2n_x509_validator.c.o): In function `wipe_cert_chain’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/tls/s2n_x509_validator.c:171: undefined reference to `sk_pop_free’

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/tls/s2n_x509_validator.c:171: undefined reference to `sk_pop_free’

/home/apps/starrocks/thirdparty/installed/lib64/libs2n.a(s2n_x509_validator.c.o): In function `s2n_x509_validator_validate_cert_stapled_ocsp_response’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/tls/s2n_x509_validator.c:441: undefined reference to `sk_num’

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/tls/s2n_x509_validator.c:448: undefined reference to `sk_value’

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/tls/s2n_x509_validator.c:452: undefined reference to `sk_value’

/home/apps/starrocks/thirdparty/installed/lib64/libs2n.a(s2n_x509_validator.c.o): In function `s2n_x509_validator_validate_cert_chain’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/tls/s2n_x509_validator.c:305: undefined reference to `sk_num’

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/tls/s2n_x509_validator.c:323: undefined reference to `sk_push’

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/tls/s2n_x509_validator.c:333: undefined reference to `sk_num’

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/tls/s2n_x509_validator.c:343: undefined reference to `sk_num’

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/tls/s2n_x509_validator.c:351: undefined reference to `sk_num’

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/tls/s2n_x509_validator.c:354: undefined reference to `sk_value’

/home/apps/starrocks/thirdparty/installed/lib64/libs2n.a(s2n_x509_validator.c.o): In function `s2n_verify_host_information’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/tls/s2n_x509_validator.c:207: undefined reference to `sk_num’

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/tls/s2n_x509_validator.c:209: undefined reference to `sk_value’

/home/apps/starrocks/thirdparty/installed/lib64/libs2n.a(s2n_aead_cipher_aes_gcm.c.o): In function `s2n_aead_cipher_aes_gcm_destroy_key’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/crypto/s2n_aead_cipher_aes_gcm.c:294: undefined reference to `EVP_CIPHER_CTX_cleanup’

/home/apps/starrocks/thirdparty/installed/lib64/libs2n.a(s2n_aead_cipher_aes_gcm.c.o): In function `s2n_aead_cipher_aes_gcm_init’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/crypto/s2n_aead_cipher_aes_gcm.c:287: undefined reference to `EVP_CIPHER_CTX_init’

/home/apps/starrocks/thirdparty/installed/lib64/libs2n.a(s2n_certificate.c.o): In function `s2n_cert_chain_and_key_load_sans’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/crypto/s2n_certificate.c:243: undefined reference to `sk_num’

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/crypto/s2n_certificate.c:245: undefined reference to `sk_value’

/home/apps/starrocks/thirdparty/installed/lib64/libs2n.a(s2n_drbg.c.o): In function `s2n_drbg_instantiate’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/crypto/s2n_drbg.c:158: undefined reference to `EVP_CIPHER_CTX_init’

/home/apps/starrocks/thirdparty/installed/lib64/libs2n.a(s2n_drbg.c.o): In function `s2n_drbg_wipe’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/crypto/s2n_drbg.c:214: undefined reference to `EVP_CIPHER_CTX_cleanup’

/home/apps/starrocks/thirdparty/installed/lib64/libs2n.a(s2n_hash.c.o): In function `s2n_evp_hash_free’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/crypto/s2n_hash.c:454: undefined reference to `EVP_MD_CTX_destroy’

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/crypto/s2n_hash.c:455: undefined reference to `EVP_MD_CTX_destroy’

/home/apps/starrocks/thirdparty/installed/lib64/libs2n.a(s2n_hash.c.o): In function `s2n_evp_hash_new’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/crypto/s2n_hash.c:248: undefined reference to `EVP_MD_CTX_create’

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/crypto/s2n_hash.c:249: undefined reference to `EVP_MD_CTX_create’

/home/apps/starrocks/thirdparty/installed/lib64/libs2n.a(s2n_hash.c.o): In function `s2n_evp_hash_reset’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/crypto/s2n_hash.c:438: undefined reference to `EVP_MD_CTX_cleanup’

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/crypto/s2n_hash.c:441: undefined reference to `EVP_MD_CTX_cleanup’

/home/apps/starrocks/thirdparty/installed/lib64/libs2n.a(s2n_openssl_x509.c.o): In function `s2n_openssl_x509_stack_pop_free’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/crypto/s2n_openssl_x509.c:22: undefined reference to `sk_pop_free’

/home/apps/starrocks/thirdparty/installed/lib64/libs2n.a(s2n_cipher_suites.c.o): In function `s2n_cipher_suites_init’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/tls/s2n_cipher_suites.c:1051: undefined reference to `OPENSSL_add_all_algorithms_noconf’

/home/apps/starrocks/thirdparty/installed/lib64/libs2n.a(s2n_cipher_suites.c.o): In function `s2n_cipher_suites_cleanup’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/tls/s2n_cipher_suites.c:1081: undefined reference to `EVP_cleanup’

/home/apps/starrocks/thirdparty/installed/lib64/libs2n.a(s2n_cbc_cipher_3des.c.o): In function `s2n_cbc_cipher_3des_destroy_key’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/crypto/s2n_cbc_cipher_3des.c:85: undefined reference to `EVP_CIPHER_CTX_cleanup’

/home/apps/starrocks/thirdparty/installed/lib64/libs2n.a(s2n_cbc_cipher_3des.c.o): In function `s2n_cbc_cipher_3des_init’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/crypto/s2n_cbc_cipher_3des.c:78: undefined reference to `EVP_CIPHER_CTX_init’

/home/apps/starrocks/thirdparty/installed/lib64/libs2n.a(s2n_cbc_cipher_aes.c.o): In function `s2n_cbc_cipher_aes_destroy_key’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/crypto/s2n_cbc_cipher_aes.c:110: undefined reference to `EVP_CIPHER_CTX_cleanup’

/home/apps/starrocks/thirdparty/installed/lib64/libs2n.a(s2n_cbc_cipher_aes.c.o): In function `s2n_cbc_cipher_aes_init’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/crypto/s2n_cbc_cipher_aes.c:103: undefined reference to `EVP_CIPHER_CTX_init’

/home/apps/starrocks/thirdparty/installed/lib64/libs2n.a(s2n_composite_cipher_aes_sha.c.o): In function `s2n_composite_cipher_aes_sha_destroy_key’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/crypto/s2n_composite_cipher_aes_sha.c:288: undefined reference to `EVP_CIPHER_CTX_cleanup’

/home/apps/starrocks/thirdparty/installed/lib64/libs2n.a(s2n_composite_cipher_aes_sha.c.o): In function `s2n_composite_cipher_aes_sha_init’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/crypto/s2n_composite_cipher_aes_sha.c:281: undefined reference to `EVP_CIPHER_CTX_init’

/home/apps/starrocks/thirdparty/installed/lib64/libs2n.a(s2n_stream_cipher_rc4.c.o): In function `s2n_stream_cipher_rc4_destroy_key’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/crypto/s2n_stream_cipher_rc4.c:78: undefined reference to `EVP_CIPHER_CTX_cleanup’

/home/apps/starrocks/thirdparty/installed/lib64/libs2n.a(s2n_stream_cipher_rc4.c.o): In function `s2n_stream_cipher_rc4_init’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/s2n/crypto/s2n_stream_cipher_rc4.c:71: undefined reference to `EVP_CIPHER_CTX_init’

/home/apps/starrocks/thirdparty/installed/lib64/libaws-c-cal.a(openssl_platform_init.c.o): In function `s_resolve_hmac_102’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/aws-c-cal/source/unix/openssl_platform_init.c:112: undefined reference to `HMAC_CTX_init’

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/aws-c-cal/source/unix/openssl_platform_init.c:112: undefined reference to `HMAC_CTX_cleanup’

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/aws-c-cal/source/unix/openssl_platform_init.c:114: undefined reference to `HMAC_CTX_init’

/home/apps/starrocks/thirdparty/installed/lib64/libaws-c-cal.a(openssl_platform_init.c.o): In function `s_resolve_md_102’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/aws-c-cal/source/unix/openssl_platform_init.c:286: undefined reference to `EVP_MD_CTX_create’

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/aws-c-cal/source/unix/openssl_platform_init.c:286: undefined reference to `EVP_MD_CTX_destroy’

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/aws-c-cal/source/unix/openssl_platform_init.c:289: undefined reference to `EVP_MD_CTX_create’

/home/apps/starrocks/thirdparty/installed/lib64/libaws-c-cal.a(openssl_platform_init.c.o): In function `aws_cal_platform_init’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/aws-c-cal/source/unix/openssl_platform_init.c:548: undefined reference to `CRYPTO_get_locking_callback’

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/aws-c-cal/source/unix/openssl_platform_init.c:561: undefined reference to `CRYPTO_get_id_callback’

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/aws-c-cal/source/unix/openssl_platform_init.c:550: undefined reference to `CRYPTO_set_locking_callback’

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/aws-c-cal/source/unix/openssl_platform_init.c:551: undefined reference to `CRYPTO_get_locking_callback’

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/aws-c-cal/source/unix/openssl_platform_init.c:552: undefined reference to `CRYPTO_num_locks’

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/aws-c-cal/source/unix/openssl_platform_init.c:554: undefined reference to `CRYPTO_num_locks’

/home/apps/starrocks/thirdparty/installed/lib64/libaws-c-cal.a(openssl_platform_init.c.o): In function `aws_cal_platform_clean_up’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/aws-c-cal/source/unix/openssl_platform_init.c:569: undefined reference to `CRYPTO_get_locking_callback’

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/aws-c-cal/source/unix/openssl_platform_init.c:578: undefined reference to `CRYPTO_get_id_callback’

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/aws-c-cal/source/unix/openssl_platform_init.c:570: undefined reference to `CRYPTO_set_locking_callback’

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/aws-c-cal/source/unix/openssl_platform_init.c:571: undefined reference to `CRYPTO_num_locks’

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/aws-c-cal/source/unix/openssl_platform_init.c:579: undefined reference to `CRYPTO_set_id_callback’

/home/apps/starrocks/thirdparty/installed/lib64/libaws-c-cal.a(openssl_platform_init.c.o): In function `aws_cal_platform_init’:

/home/apps/starrocks/thirdparty/src/aws-sdk-cpp-1.9.179/crt/aws-crt-cpp/crt/aws-c-cal/source/unix/openssl_platform_init.c:562: undefined reference to `CRYPTO_set_id_callback’

collect2: error: ld returned 1 exit status

make[2]: *** […/output/lib/starrocks_be] Error 1

make[1]: *** [src/service/CMakeFiles/starrocks_be.dir/all] Error 2

make: *** [all] Error 2

我是这个包出错了,在centos机器上编译的。请问下怎么解决呢