Open mmssimeonov opened 6 years ago
Make sure you install the libssl
modify makefile
, add "-lssl" to the end of LIBS, and try again
if you have any troubles write me in telegram: @lspidh
@mmssimeonov Were you able to resolve the issue ? @haipome @felix021 I have libssl installed and I have the -lssl command in my makfile, but I get a similar issue, any leads on how to resolve ? Thank you
@mmssimeonov @ilanoh detailed compilation guide: https://www.felix021.com/blog/read.php?2187
@felix021 Hello Felix thanks a lot for your post,
Does the compilation needs some actions on the databases ? Is there somewhere where I can send you some logs ? Thank you
@ilanoh the compilation procedure has nothing to do with the databases.
after compilation, you can follow instructions posted by @yingl here: https://github.com/viabtc/viabtc_exchange_server/issues/74
@felix021 I receive a L4Z error with your procedure, it is something related to an update of gcc, it is more strict on the position of the libs in the makefile. See -llz4 should be added also I guess. Also why do you call -lssl twice ?
/root/librdkafka/src/rdkafka_lz4.c:373: undefined reference to
LZ4F_isError' /root/librdkafka/src/rdkafka_lz4.c:386: undefined reference to
LZ4F_compressUpdate' /root/librdkafka/src/rdkafka_lz4.c:388: undefined reference toLZ4F_isError' /root/librdkafka/src/rdkafka_lz4.c:389: undefined reference to
LZ4F_getErrorName' /root/librdkafka/src/rdkafka_lz4.c:348: undefined reference toLZ4F_getErrorName' /root/librdkafka/src/rdkafka_lz4.c:429: undefined reference to
LZ4F_freeCompressionContext' /root/librdkafka/src/rdkafka_lz4.c:405: undefined reference toLZ4F_compressEnd' /root/librdkafka/src/rdkafka_lz4.c:406: undefined reference to
LZ4F_isError' /root/librdkafka/src/rdkafka_lz4.c:429: undefined reference toLZ4F_freeCompressionContext' /root/librdkafka/src/rdkafka_lz4.c:374: undefined reference to
LZ4F_getErrorName' /root/librdkafka/src/rdkafka_lz4.c:407: undefined reference toLZ4F_getErrorName' //usr/local/lib/libcurl.a(libcurl_la-openssl.o): In function
Curl_ossl_version': openssl.c:(.text+0xe07): undefined reference toSSLeay' //usr/local/lib/libcurl.a(libcurl_la-openssl.o): In function
Curl_ossl_set_engine_default': openssl.c:(.text+0x1160): undefined reference toENGINE_set_default' //usr/local/lib/libcurl.a(libcurl_la-openssl.o): In function
Curl_ossl_seed.part.4': openssl.c:(.text+0x1379): undefined reference toRAND_file_name' openssl.c:(.text+0x138f): undefined reference to
RAND_load_file' //usr/local/lib/libcurl.a(libcurl_la-openssl.o): In functionCurl_ossl_seed': openssl.c:(.text+0x1438): undefined reference to
RAND_load_file' //usr/local/lib/libcurl.a(libcurl_la-openssl.o): In functionossl_connect_step1': openssl.c:(.text+0x2307): undefined reference to
BIO_f_ssl' //usr/local/lib/libcurl.a(libcurl_la-openssl.o): In functionCurl_ossl_init': openssl.c:(.text+0x33d7): undefined reference to
OPENSSL_load_builtin_modules' openssl.c:(.text+0x33dc): undefined reference toENGINE_load_builtin_engines' //usr/local/lib/libcurl.a(libcurl_la-openssl.o): In function
servercert': openssl.c:(.text+0x44ad): undefined reference toOCSP_response_status' openssl.c:(.text+0x44c0): undefined reference to
OCSP_response_status_str' openssl.c:(.text+0x4ab4): undefined reference toOCSP_response_get1_basic' openssl.c:(.text+0x4aec): undefined reference to
OCSP_basic_verify' openssl.c:(.text+0x4b38): undefined reference toOCSP_resp_count' openssl.c:(.text+0x4b4e): undefined reference to
OCSP_resp_get0' openssl.c:(.text+0x4b73): undefined reference toOCSP_single_get0_status' openssl.c:(.text+0x4b97): undefined reference to
OCSP_check_validity' openssl.c:(.text+0x4ba7): undefined reference toOCSP_cert_status_str' openssl.c:(.text+0x4f41): undefined reference to
OCSP_crl_reason_str'