Libthrift undefined reference


#1

[ 1%] Built target sqlite3
[ 3%] Built target bcrypt
[ 5%] Built target mapd_thrift
[ 6%] Built target SqliteConnector
[ 8%] Built target calciteserver_thrift
[ 8%] Built target ScannerFiles
[ 8%] Built target ParserFiles
[ 9%] Built target CudaMgr
[ 10%] Built target Utils
[ 12%] Built target Shared
[ 13%] Built target Fragmenter
[ 14%] Built target token_completion_hints
[ 15%] Built target mapd_web_server
[ 16%] Built target mapd_java_components
[ 19%] Built target frontend
[ 20%] Built target gtest
[ 20%] Built target linenoise
[ 20%] Built target geo_samples
[ 33%] Built target rdkafka
[ 33%] Built target gdal-data
[ 34%] Built target group_by_hash_test
[ 35%] Built target UtilTest
[ 36%] Built target TokenCompletionHintsTest
[ 36%] Built target RowToColumn
[ 36%] Built target mapdql
[ 38%] Built target mapd_sample_thrift
[ 39%] Built target StringDictionary
[ 40%] Built target thrift_handler
[ 44%] Built target rdkafka++
[ 49%] Built target DataMgr
[ 50%] Built target StreamImporter
[ 50%] Built target generate_cert
[ 51%] Built target StringDictionaryTest
[ 52%] Built target DataGen
[ 52%] Linking CXX executable …/bin/KafkaImporter
[ 53%] Built target StreamInsert
[ 53%] Built target StreamInsertSimple
[ 53%] Built target Chunk
[ 54%] Built target Calcite
[ 56%] Built target Catalog
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to SSL_CTX_new@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toSSL_get_verify_mode@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to SSL_CTX_set_verify@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toCRYPTO_num_locks@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to SSL_CTX_set_default_passwd_cb_userdata@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toSSL_get_wbio@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to BIO_ctrl@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toSSL_peek@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to CRYPTO_set_dynlock_destroy_callback@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toSSL_CTX_use_certificate_chain_file@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to SSL_get_shutdown@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toSSL_CTX_free@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to ERR_get_error@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toCRYPTO_set_locking_callback@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to TLSv1_method@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toSSL_new@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to SSL_load_error_strings@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toASN1_STRING_data@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to SSL_get_error@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toX509_NAME_get_entry@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to SSL_write@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toCRYPTO_free@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to EVP_cleanup@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toX509_verify_cert_error_string@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to X509_free@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toSSL_CTX_load_verify_locations@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to ASN1_STRING_length@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toSSL_CTX_use_PrivateKey_file@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to ERR_peek_error@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toERR_free_strings@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to sk_num@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toSSL_free@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to SSL_accept@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toERR_remove_state@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to SSL_ctrl@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toASN1_STRING_to_UTF8@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to ERR_clear_error@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toTLSv1_2_method@OPENSSL_1.0.1’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to SSL_get_rbio@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toSSL_set_fd@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to CRYPTO_cleanup_all_ex_data@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toBIO_s_mem@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to SSL_read@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toSSL_set_bio@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to GENERAL_NAME_free@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toERR_reason_error_string@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to SSL_connect@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toX509_NAME_get_index_by_NID@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to SSL_CTX_ctrl@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toRAND_poll@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to SSL_CTX_set_default_passwd_cb@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toSSLv23_method@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to BIO_new@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toSSL_library_init@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to X509_get_subject_name@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toSSL_CTX_set_cipher_list@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to X509_get_ext_d2i@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toX509_NAME_ENTRY_get_data@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to TLSv1_1_method@OPENSSL_1.0.1' /usr/local/mapd-deps/lib/libthrift.so: undefined reference tosk_value@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to CRYPTO_set_dynlock_create_callback@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference tosk_pop_free@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to CRYPTO_set_dynlock_lock_callback@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toSSL_get_verify_result@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to SSL_shutdown@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toSSL_get_peer_certificate@OPENSSL_1.0.0’
collect2: error: ld returned 1 exit status
Import/CMakeFiles/KafkaImporter.dir/build.make:108: recipe for target ‘bin/KafkaImporter’ failed
make[2]: *** [bin/KafkaImporter] Error 1
CMakeFiles/Makefile2:1391: recipe for target ‘Import/CMakeFiles/KafkaImporter.dir/all’ failed
make[1]: *** [Import/CMakeFiles/KafkaImporter.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs…
[ 56%] Built target Analyzer
[ 57%] Built target CsvImport
– Configuring done
– Generating done
– Build files have been written to: /home/thickstat/Downloads/mapd-core/build
[ 57%] Built target rerun_cmake
Makefile:160: recipe for target ‘all’ failed
make: *** [all] Error 2

i have this logs while building mapd core
this is my cmake command " ```
cmake -DENABLE_TSAN=on -DENABLE_CUDA=off …

cmake file got generated successfully but it has some error in make command
i am using ubuntu 16.04 and openssl version 1.02p
can someone help me in this