Open milesk12 opened 7 years ago
I had the same probs on Ubuntu 16.04. The problem is that in 16.04 boost is a dependency to some packages and so you can't downgrade it. To get this to work, you need to compile it on 14.04. I personnally did this in a chroot but this could work with VMs too.
I tried inside a VM with 14.04 exactly the same error code above, a little more input as to what the requirements are would be helpful. Like versions of other programs required to compile would help. This looks like an openssl issue but I can't figure out what version is required.
I'm going to cheat and use wine, unless anyone else has a solution.
i have a .deb of 0.10.4.4 compiled by myself if you're interested. You may not trust me however.
Hey buddy thanks but I just used wine and it works, it seems a little odd that a release dated May requires a version of Ubuntu which is soon be end of product life cycle to compile but TBH it's not just quarkcoin I've had similar issues with other coins. I just compiled an entire exchange and have managed to get it semi functional I was only using it as an engineering experiment to prove to myself I could get it up and working and I have. Thanks for your help tho. This could probably be closed but I'm going to leave it open as the developers should really find a way to make compiling easier on newer version of Ubuntu without having to install older dependencies, I know that SSL has changed a lot in the past few years but still.
Ubuntu 16.04
Trying to install make gives me this have tried numerous different variations of ./configure
I assume this is an ssl issue but I see no definition given for the ssl version to use?
CXX libquark_wallet_a-db.o CXX libquark_wallet_a-crypter.o CXX libquark_wallet_a-rpcdump.o CXX libquark_wallet_a-rpcwallet.o CXX libquark_wallet_a-wallet.o CXX libquark_wallet_a-wallet_ismine.o CXX libquark_wallet_a-walletdb.o AR libquark_wallet.a /usr/bin/ar: > const&, std::vector<unsigned char, std::allocator >&)':
/opt/quark/src/crypter.cpp:65: undefined reference to > const&, std::vector<unsigned char, secure_allocator >&)':
/opt/quark/src/crypter.cpp:92: undefined reference to
u' modifier ignored since
D' is the default (seeU') CXXLD quarkd quarkd-bitcoind.o: In function
boost::asio::ssl::detail::openssl_init_base::do_init::~do_init()': /usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:64: undefined reference toCRYPTO_set_id_callback' /usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:65: undefined reference to
CRYPTO_set_locking_callback' /usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:66: undefined reference toERR_free_strings' /usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:72: undefined reference to
EVP_cleanup' /usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:73: undefined reference toCRYPTO_cleanup_all_ex_data' /usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:76: undefined reference to
ENGINE_cleanup' quarkd-bitcoind.o: In functionboost::asio::ssl::detail::openssl_init_base::do_init::~do_init()': /usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:64: undefined reference to
CRYPTO_set_id_callback' /usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:65: undefined reference toCRYPTO_set_locking_callback' /usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:66: undefined reference to
ERR_free_strings' /usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:72: undefined reference toEVP_cleanup' /usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:73: undefined reference to
CRYPTO_cleanup_all_ex_data' /usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:76: undefined reference toENGINE_cleanup' quarkd-bitcoind.o: In function
boost::asio::ssl::detail::openssl_init_base::do_init::do_init()': /usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:39: undefined reference toSSL_library_init' /usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:40: undefined reference to
SSL_load_error_strings' /usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:41: undefined reference toOPENSSL_add_all_algorithms_noconf' /usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:43: undefined reference to
CRYPTO_num_locks' /usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:46: undefined reference toCRYPTO_set_locking_callback' /usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:47: undefined reference to
CRYPTO_set_id_callback' libquark_server.a(libquark_server_a-init.o): In functionAppInit2(boost::thread_group&)': /opt/quark/src/init.cpp:777: undefined reference to
SSLeay_version' libquark_server.a(libquark_server_a-rpcserver.o): In functionboost::asio::ssl::context::context(boost::asio::ssl::context_base::method)': /usr/include/boost/asio/ssl/impl/context.ipp:120: undefined reference to
SSLv23_method' libquark_util.a(libquark_util_a-util.o): In functionCInit::~CInit()': /opt/quark/src/util.cpp:150: undefined reference to
RAND_cleanup' /opt/quark/src/util.cpp:152: undefined reference toCRYPTO_set_locking_callback' /opt/quark/src/util.cpp:153: undefined reference to
CRYPTO_num_locks' libquark_util.a(libquark_util_a-util.o): In functionCInit::CInit()': /opt/quark/src/util.cpp:127: undefined reference to
CRYPTO_num_locks' /opt/quark/src/util.cpp:128: undefined reference toCRYPTO_num_locks' /opt/quark/src/util.cpp:130: undefined reference to
CRYPTO_set_locking_callback' /opt/quark/src/util.cpp:137: undefined reference toOPENSSL_no_config' libquark_wallet.a(libquark_wallet_a-crypter.o): In function
CCrypter::Encrypt(std::vector<unsigned char, secure_allocatorEVP_CIPHER_CTX_init' /opt/quark/src/crypter.cpp:69: undefined reference to
EVP_CIPHER_CTX_cleanup' /opt/quark/src/crypter.cpp:69: undefined reference toEVP_CIPHER_CTX_cleanup' libquark_wallet.a(libquark_wallet_a-crypter.o): In function
CCrypter::Decrypt(std::vector<unsigned char, std::allocatorEVP_CIPHER_CTX_init' /opt/quark/src/crypter.cpp:96: undefined reference to
EVP_CIPHER_CTX_cleanup' /opt/quark/src/crypter.cpp:96: undefined reference to `EVP_CIPHER_CTX_cleanup' collect2: error: ld returned 1 exit status Makefile:2625: recipe for target 'quarkd' failed make[2]: [quarkd] Error 1 make[2]: Leaving directory '/opt/quark/src' Makefile:6396: recipe for target 'all-recursive' failed make[1]: [all-recursive] Error 1 make[1]: Leaving directory '/opt/quark/src' Makefile:574: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1