viabtc / viabtc_exchange_server

A trading engine with high-speed performance and real-time notification
MIT License
2.68k stars 1.49k forks source link

Can someone help me with compiling. I've install all requirements #57

Open mmssimeonov opened 6 years ago

mmssimeonov commented 6 years ago

/root/librdkafka/src/rdkafka_lz4.c:373: undefined reference to LZ4F_isError' /root/librdkafka/src/rdkafka_lz4.c:386: undefined reference toLZ4F_compressUpdate' /root/librdkafka/src/rdkafka_lz4.c:388: undefined reference to LZ4F_isError' /root/librdkafka/src/rdkafka_lz4.c:389: undefined reference toLZ4F_getErrorName' /root/librdkafka/src/rdkafka_lz4.c:348: undefined reference to LZ4F_getErrorName' /root/librdkafka/src/rdkafka_lz4.c:429: undefined reference toLZ4F_freeCompressionContext' /root/librdkafka/src/rdkafka_lz4.c:405: undefined reference to LZ4F_compressEnd' /root/librdkafka/src/rdkafka_lz4.c:406: undefined reference toLZ4F_isError' /root/librdkafka/src/rdkafka_lz4.c:429: undefined reference to LZ4F_freeCompressionContext' /root/librdkafka/src/rdkafka_lz4.c:374: undefined reference toLZ4F_getErrorName' /root/librdkafka/src/rdkafka_lz4.c:407: undefined reference to LZ4F_getErrorName' //usr/local/lib/libcurl.a(libcurl_la-openssl.o): In functionCurl_ossl_version': openssl.c:(.text+0xe07): undefined reference to SSLeay' //usr/local/lib/libcurl.a(libcurl_la-openssl.o): In functionCurl_ossl_set_engine_default': openssl.c:(.text+0x1160): undefined reference to ENGINE_set_default' //usr/local/lib/libcurl.a(libcurl_la-openssl.o): In functionCurl_ossl_seed.part.4': openssl.c:(.text+0x1379): undefined reference to RAND_file_name' openssl.c:(.text+0x138f): undefined reference toRAND_load_file' //usr/local/lib/libcurl.a(libcurl_la-openssl.o): In function Curl_ossl_seed': openssl.c:(.text+0x1438): undefined reference toRAND_load_file' //usr/local/lib/libcurl.a(libcurl_la-openssl.o): In function ossl_connect_step1': openssl.c:(.text+0x2307): undefined reference toBIO_f_ssl' //usr/local/lib/libcurl.a(libcurl_la-openssl.o): In function Curl_ossl_init': openssl.c:(.text+0x33d7): undefined reference toOPENSSL_load_builtin_modules' openssl.c:(.text+0x33dc): undefined reference to ENGINE_load_builtin_engines' //usr/local/lib/libcurl.a(libcurl_la-openssl.o): In functionservercert': openssl.c:(.text+0x44ad): undefined reference to OCSP_response_status' openssl.c:(.text+0x44c0): undefined reference toOCSP_response_status_str' openssl.c:(.text+0x4ab4): undefined reference to OCSP_response_get1_basic' openssl.c:(.text+0x4aec): undefined reference toOCSP_basic_verify' openssl.c:(.text+0x4b38): undefined reference to OCSP_resp_count' openssl.c:(.text+0x4b4e): undefined reference toOCSP_resp_get0' openssl.c:(.text+0x4b73): undefined reference to OCSP_single_get0_status' openssl.c:(.text+0x4b97): undefined reference toOCSP_check_validity' openssl.c:(.text+0x4ba7): undefined reference to OCSP_cert_status_str' openssl.c:(.text+0x4f41): undefined reference toOCSP_crl_reason_str'

haipome commented 6 years ago

Make sure you install the libssl

felix021 commented 6 years ago

modify makefile, add "-lssl" to the end of LIBS, and try again

cyppper commented 6 years ago

if you have any troubles write me in telegram: @lspidh

ilanoh commented 6 years ago

@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

felix021 commented 6 years ago

@mmssimeonov @ilanoh detailed compilation guide: https://www.felix021.com/blog/read.php?2187

ilanoh commented 6 years ago

@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

felix021 commented 6 years ago

@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

ilanoh commented 6 years ago

@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 ?