Unable to compile zcash

#1

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.ZN5boost16exceptiondetail19error_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.ZN5boost16exceptiondetail19error_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.ZN5boost16exceptiondetail10bad_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.ZN5boost16exceptiondetail14bad_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.ZN5boost16exceptiondetail19error_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.ZN5boost16exceptiondetail19error_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.ZN5boost16exceptiondetail19error_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.ZN5boost16exceptiondetail10bad_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.ZN5boost16exceptiondetail14bad_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.ZN5boost16exceptiondetail19error_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.ZN5boost16exceptiondetail19error_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.ZN5boost16exceptiondetail19error_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.ZN5boost16exceptiondetail19error_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.ZN5boost16exceptiondetail19error_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


#2

In case it helps, I had problems building when I only had 1GB of RAM. With 6GB of RAM I was able to compile fine.

#3

Hi all
I need help on this : You have validated 6 transactions!
- You have contributed 0.0000 Sol/s on average to the network solution rate.
- You have completed 0 Equihash solver runs.

Messages:
: Error loading block database.

Do you want to rebuild the block database now?
I have rebuild it x time and it stay the same
any suggestions?
regards

#4

I actually have a current intel mob with 16GB or memory and a raid 1 sas hhds. So, memory is not an issue and nether is the processor as I have a quad code Xeon 5410 series from dell.

#5

what distribution/version of linux are you running this on?
what are the steps you're taking (after installing operating system) to get to this error?

zcash ignores existing installs of libboost; so you might want to try:
apt-get remove libboost-all-dev

or if its easier:
apt-get install -y dselect
dselect
press backslash '/', then type boost and enter, once the boost lib is selected, press - and then enter to remove

from here, for a clean install:
sudo apt-get update
sudo apt-get install -y build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python zlib1g-dev wget bsdmainutils automake
git clone https://github.com/zcash/zcash.git
cd zcash/
git checkout v1.0.0
./zcutil/fetch-params.sh
./zcutil/build.sh -j4
cd src
./zcashd -server -daemon -rpcuser=itspecialist -rpcpassword=JUIEHRUGIERG872347832HF -rpcbind=127.0.0.1 -rpcallowip=127.0.0.1 -addnode=mainnet.z.cash

to watch daemon sync:
tail -f /root/.zcash/debug.log

#6

Thanks answering
I use Ubuntu 16.4 and followed page zcash 1.0.0."sprout".
Regards

#7

Please start a new thread for your issue Asterix, that response was for it.specialist

#8

I am using ubuntu LTS

#9

barrystyle
I am already loving you bro. It works. Thanks for all the tips. Its up and running.

#10

top stuff man, have fun!