viabtc / viabtc_exchange_server

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

I have compile errror related to sasl and krb5_end #136

Open rmalenko opened 6 years ago

rmalenko commented 6 years ago

Could someone so kindly help me resolve, please?

When I am compiling I have these errors:

folder ./matchengine

/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/librdkafka.a(rdkafka_sasl_cyrus.o): In function `rd_kafka_sasl_cyrus_global_init':
(.text+0x1775): undefined reference to `sasl_client_init'
(.text+0x1789): undefined reference to `sasl_errstring'

folder ./marketprice

(rdkafka_sasl_cyrus.o): undefined reference to symbol 'sasl_client_new@@SASL2'
/usr/lib/x86_64-linux-gnu/libsasl2.so.2: error adding symbols: DSO missing from command line

folder ./accessws

/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libcurl.a(libcurl_la-krb5.o): In function `krb5_end':
(.text+0x7f5): undefined reference to `gss_delete_sec_context'
collect2: error: ld returned 1 exit status

folder ./readhistory

/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libmysqlclient.a(ripemd.cpp.o): In function `TaoCrypt::RIPEMD160::~RIPEMD160()':
(.text._ZN8TaoCrypt9RIPEMD160D0Ev[_ZN8TaoCrypt9RIPEMD160D5Ev]+0x6): undefined reference to `operator delete(void*)'
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libmysqlclient.a(ripemd.cpp.o):(.data.rel.ro._ZTIN8TaoCrypt9RIPEMD160E[_ZTIN8TaoCrypt9RIPEMD160E]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
collect2: error: ld returned 1 exit status
../makefile.inc:16: recipe for target 'readhistory.exe' failed
make: *** [readhistory.exe] Error 1
ohld commented 6 years ago

You can see how I compile all files in docker-compose here: http://github.com/testnet-exchange/viabtc_exchange_server/tree/master/docker

lealife commented 5 years ago

Install it on Centos: https://github.com/lealife/viabtc_exchange_server/issues/1