I am trying to install zcash but while compiling I keep getting this error. It does not mater if the installation is fresh.
Please help me!
…
.text._ZN5boost16exception_detail19error_info_injectorINS_10lock_errorEED2Ev' referenced in section
.text._ZN5boost16exception_detail19error_info_injectorINS_10lock_errorEED1Ev[_ZN5boost16exception_detail19error_info_injectorINS_10lock_errorEED1Ev]’ of /home/zadmin/zcash/depends/x86_64-unknown-linux-gnu/share/…/lib/libboost_thread-mt.a(thread.o): defined in discarded section .text._ZN5boost16exception_detail19error_info_injectorINS_10lock_errorEED2Ev[_ZN5boost16exception_detail19error_info_injectorINS_10lock_errorEED5Ev]' of /home/zadmin/zcash/depends/x86_64-unknown-linux-gnu/share/../lib/libboost_thread-mt.a(thread.o) /bin/bash ../libtool --tag=CXX --mode=link /home/zadmin/zcash/depends/x86_64-unknown-linux-gnu/share/../native/bin/ccache g++ -m64 -std=c++11 -pipe -O1 -fwrapv -fno-strict-aliasing -Werror -g -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -fPIE -pthread -L/home/zadmin/zcash/depends/x86_64-unknown-linux-gnu/share/../lib -Wl,-z,relro -Wl,-z,now -pie -o zcashd zcashd-bitcoind.o libbitcoin_server.a libbitcoin_common.a univalue/libbitcoin_univalue.a libbitcoin_util.a crypto/libbitcoin_crypto.a libzcash.a ./leveldb/libleveldb.a ./leveldb/libmemenv.a secp256k1/libsecp256k1.la libbitcoin_wallet.a -L/home/zadmin/zcash/depends/x86_64-unknown-linux-gnu/share/../lib -lboost_system-mt -lboost_filesystem-mt -lboost_program_options-mt -lboost_thread-mt -lboost_chrono-mt -ldb_cxx-6.2 -L/home/zadmin/zcash/depends/x86_64-unknown-linux-gnu/lib -lssl -lcrypto -ldl -L/home/zadmin/zcash/depends/x86_64-unknown-linux-gnu/lib -lcrypto -ldl -lminiupnpc libzcash.a crypto/libbitcoin_crypto.a -lsnark -lgmp -lgmpxx -lboost_system-mt -lcrypto -lsodium -fopenmp -lanl collect2: error: ld returned 1 exit status make[2]: *** [zcash-cli] Error 1 make[2]: *** Waiting for unfinished jobs.... libtool: link: /home/zadmin/zcash/depends/x86_64-unknown-linux-gnu/share/../native/bin/ccache g++ -m64 -std=c++11 -pipe -O1 -fwrapv -fno-strict-aliasing -Werror -g -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -fPIE -pthread -Wl,-z -Wl,relro -Wl,-z -Wl,now -pie -o zcashd zcashd-bitcoind.o -fopenmp -L/home/zadmin/zcash/depends/x86_64-unknown-linux-gnu/share/../lib libbitcoin_server.a libbitcoin_common.a univalue/libbitcoin_univalue.a libbitcoin_util.a ./leveldb/libleveldb.a ./leveldb/libmemenv.a secp256k1/.libs/libsecp256k1.a libbitcoin_wallet.a -lboost_filesystem-mt -lboost_program_options-mt -lboost_thread-mt -lboost_chrono-mt -ldb_cxx-6.2 -L/home/zadmin/zcash/depends/x86_64-unknown-linux-gnu/lib -lssl -ldl -lminiupnpc libzcash.a crypto/libbitcoin_crypto.a -lsnark /home/zadmin/zcash/depends/x86_64-unknown-linux-gnu/lib/libgmpxx.a /home/zadmin/zcash/depends/x86_64-unknown-linux-gnu/lib/libgmp.a -lboost_system-mt -lcrypto /home/zadmin/zcash/depends/x86_64-unknown-linux-gnu/lib/libsodium.a -lanl -fopenmp -pthread
.text._ZN5boost16exception_detail19error_info_injectorINS_17bad_function_callEED2Ev’ referenced in section .text._ZN5boost16exception_detail19error_info_injectorINS_17bad_function_callEED1Ev[_ZN5boost16exception_detail19error_info_injectorINS_17bad_function_callEED1Ev]' of /home/zadmin/zcash/depends/x86_64-unknown-linux-gnu/share/../lib/libboost_program_options-mt.a(value_semantic.o): defined in discarded section
.text._ZN5boost16exception_detail19error_info_injectorINS_17bad_function_callEED2Ev[_ZN5boost16exception_detail19error_info_injectorINS_17bad_function_callEED5Ev]’ of /home/zadmin/zcash/depends/x86_64-unknown-linux-gnu/share/…/lib/libboost_program_options-mt.a(value_semantic.o)
.text._ZN5boost16exception_detail10bad_alloc_D2Ev' referenced in section
.text._ZN5boost16exception_detail10bad_alloc_D1Ev[_ZN5boost16exception_detail10bad_alloc_D1Ev]’ of /home/zadmin/zcash/depends/x86_64-unknown-linux-gnu/share/…/lib/libboost_thread-mt.a(thread.o): defined in discarded section .text._ZN5boost16exception_detail10bad_alloc_D2Ev[_ZN5boost16exception_detail10bad_alloc_D5Ev]' of /home/zadmin/zcash/depends/x86_64-unknown-linux-gnu/share/../lib/libboost_thread-mt.a(thread.o)
.text._ZN5boost16exception_detail14bad_exception_D2Ev’ referenced in section .text._ZN5boost16exception_detail14bad_exception_D1Ev[_ZN5boost16exception_detail14bad_exception_D1Ev]' of /home/zadmin/zcash/depends/x86_64-unknown-linux-gnu/share/../lib/libboost_thread-mt.a(thread.o): defined in discarded section
.text._ZN5boost16exception_detail14bad_exception_D2Ev[_ZN5boost16exception_detail14bad_exception_D5Ev]’ of /home/zadmin/zcash/depends/x86_64-unknown-linux-gnu/share/…/lib/libboost_thread-mt.a(thread.o)
.text._ZN5boost16exception_detail19error_info_injectorINS_21thread_resource_errorEED2Ev' referenced in section
.text._ZN5boost16exception_detail19error_info_injectorINS_21thread_resource_errorEED1Ev[_ZN5boost16exception_detail19error_info_injectorINS_21thread_resource_errorEED1Ev]’ of /home/zadmin/zcash/depends/x86_64-unknown-linux-gnu/share/…/lib/libboost_thread-mt.a(thread.o): defined in discarded section .text._ZN5boost16exception_detail19error_info_injectorINS_21thread_resource_errorEED2Ev[_ZN5boost16exception_detail19error_info_injectorINS_21thread_resource_errorEED5Ev]' of /home/zadmin/zcash/depends/x86_64-unknown-linux-gnu/share/../lib/libboost_thread-mt.a(thread.o)
.text._ZN5boost16exception_detail19error_info_injectorINS_10lock_errorEED2Ev’ referenced in section .text._ZN5boost16exception_detail19error_info_injectorINS_10lock_errorEED1Ev[_ZN5boost16exception_detail19error_info_injectorINS_10lock_errorEED1Ev]' of /home/zadmin/zcash/depends/x86_64-unknown-linux-gnu/share/../lib/libboost_thread-mt.a(thread.o): defined in discarded section
.text._ZN5boost16exception_detail19error_info_injectorINS_10lock_errorEED2Ev[_ZN5boost16exception_detail19error_info_injectorINS_10lock_errorEED5Ev]’ of /home/zadmin/zcash/depends/x86_64-unknown-linux-gnu/share/…/lib/libboost_thread-mt.a(thread.o)
collect2: error: ld returned 1 exit status
make[2]: *** [zcash-tx] Error 1
.text._ZN5boost16exception_detail19error_info_injectorINS_17bad_function_callEED2Ev' referenced in section
.text._ZN5boost16exception_detail19error_info_injectorINS_17bad_function_callEED1Ev[_ZN5boost16exception_detail19error_info_injectorINS_17bad_function_callEED1Ev]’ of /home/zadmin/zcash/depends/x86_64-unknown-linux-gnu/share/…/lib/libboost_program_options-mt.a(value_semantic.o): defined in discarded section .text._ZN5boost16exception_detail19error_info_injectorINS_17bad_function_callEED2Ev[_ZN5boost16exception_detail19error_info_injectorINS_17bad_function_callEED5Ev]' of /home/zadmin/zcash/depends/x86_64-unknown-linux-gnu/share/../lib/libboost_program_options-mt.a(value_semantic.o)
.text._ZN5boost16exception_detail10bad_alloc_D2Ev’ referenced in section .text._ZN5boost16exception_detail10bad_alloc_D1Ev[_ZN5boost16exception_detail10bad_alloc_D1Ev]' of /home/zadmin/zcash/depends/x86_64-unknown-linux-gnu/share/../lib/libboost_thread-mt.a(thread.o): defined in discarded section
.text._ZN5boost16exception_detail10bad_alloc_D2Ev[_ZN5boost16exception_detail10bad_alloc_D5Ev]’ of /home/zadmin/zcash/depends/x86_64-unknown-linux-gnu/share/…/lib/libboost_thread-mt.a(thread.o)
.text._ZN5boost16exception_detail14bad_exception_D2Ev' referenced in section
.text._ZN5boost16exception_detail14bad_exception_D1Ev[_ZN5boost16exception_detail14bad_exception_D1Ev]’ of /home/zadmin/zcash/depends/x86_64-unknown-linux-gnu/share/…/lib/libboost_thread-mt.a(thread.o): defined in discarded section .text._ZN5boost16exception_detail14bad_exception_D2Ev[_ZN5boost16exception_detail14bad_exception_D5Ev]' of /home/zadmin/zcash/depends/x86_64-unknown-linux-gnu/share/../lib/libboost_thread-mt.a(thread.o)
.text._ZN5boost16exception_detail19error_info_injectorINS_16bad_lexical_castEED2Ev’ referenced in section .text._ZN5boost16exception_detail19error_info_injectorINS_16bad_lexical_castEED1Ev[_ZN5boost16exception_detail19error_info_injectorINS_16bad_lexical_castEED1Ev]' of /home/zadmin/zcash/depends/x86_64-unknown-linux-gnu/share/../lib/libboost_thread-mt.a(thread.o): defined in discarded section
.text._ZN5boost16exception_detail19error_info_injectorINS_16bad_lexical_castEED2Ev[_ZN5boost16exception_detail19error_info_injectorINS_16bad_lexical_castEED5Ev]’ of /home/zadmin/zcash/depends/x86_64-unknown-linux-gnu/share/…/lib/libboost_thread-mt.a(thread.o)
.text._ZN5boost16exception_detail19error_info_injectorINS_21thread_resource_errorEED2Ev' referenced in section
.text._ZN5boost16exception_detail19error_info_injectorINS_21thread_resource_errorEED1Ev[_ZN5boost16exception_detail19error_info_injectorINS_21thread_resource_errorEED1Ev]’ of /home/zadmin/zcash/depends/x86_64-unknown-linux-gnu/share/…/lib/libboost_thread-mt.a(thread.o): defined in discarded section .text._ZN5boost16exception_detail19error_info_injectorINS_21thread_resource_errorEED2Ev[_ZN5boost16exception_detail19error_info_injectorINS_21thread_resource_errorEED5Ev]' of /home/zadmin/zcash/depends/x86_64-unknown-linux-gnu/share/../lib/libboost_thread-mt.a(thread.o)
.text._ZN5boost16exception_detail19error_info_injectorINS_10lock_errorEED2Ev’ referenced in section .text._ZN5boost16exception_detail19error_info_injectorINS_10lock_errorEED1Ev[_ZN5boost16exception_detail19error_info_injectorINS_10lock_errorEED1Ev]' of /home/zadmin/zcash/depends/x86_64-unknown-linux-gnu/share/../lib/libboost_thread-mt.a(thread.o): defined in discarded section
.text._ZN5boost16exception_detail19error_info_injectorINS_10lock_errorEED2Ev[_ZN5boost16exception_detail19error_info_injectorINS_10lock_errorEED5Ev]’ of /home/zadmin/zcash/depends/x86_64-unknown-linux-gnu/share/…/lib/libboost_thread-mt.a(thread.o)
.text._ZN5boost16exception_detail19error_info_injectorINS_15condition_errorEED2Ev' referenced in section
.text._ZN5boost16exception_detail19error_info_injectorINS_15condition_errorEED1Ev[_ZN5boost16exception_detail19error_info_injectorINS_15condition_errorEED1Ev]’ of /home/zadmin/zcash/depends/x86_64-unknown-linux-gnu/share/…/lib/libboost_thread-mt.a(thread.o): defined in discarded section .text._ZN5boost16exception_detail19error_info_injectorINS_15condition_errorEED2Ev[_ZN5boost16exception_detail19error_info_injectorINS_15condition_errorEED5Ev]' of /home/zadmin/zcash/depends/x86_64-unknown-linux-gnu/share/../lib/libboost_thread-mt.a(thread.o)
.text._ZN5boost16exception_detail19error_info_injectorINS_6system12system_errorEED2Ev’ referenced in section .text._ZN5boost16exception_detail19error_info_injectorINS_6system12system_errorEED1Ev[_ZN5boost16exception_detail19error_info_injectorINS_6system12system_errorEED1Ev]' of /home/zadmin/zcash/depends/x86_64-unknown-linux-gnu/share/../lib/libboost_chrono-mt.a(chrono.o): defined in discarded section
.text._ZN5boost16exception_detail19error_info_injectorINS_6system12system_errorEED2Ev[_ZN5boost16exception_detail19error_info_injectorINS_6system12system_errorEED5Ev]’ of /home/zadmin/zcash/depends/x86_64-unknown-linux-gnu/share/…/lib/libboost_chrono-mt.a(chrono.o)
collect2: error: ld returned 1 exit status
make[2]: *** [zcashd] Error 1
mv -f wallet/gtest/.deps/zcash_gtest-test_wallet.Tpo wallet/gtest/.deps/zcash_gtest-test_wallet.Po
make[2]: Leaving directory /home/zadmin/zcash/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
/home/zadmin/zcash/src’
make: *** [all-recursive] Error 1