steps:1:Compiled and run zcash./zcutil/fetch-params.sh./zcutil/build.sh -j$(nproc)screen -dmS "zecnode" ./ZEC/zcash/src/zcashd
All blocks are downloaded.......
I confirmed that I ran the below command successfully:sudo apt-get install cmake libssl-dev libsodium-dev libpcre3-dev libleveldb-dev libboost-all-dev libgmp-dev libprotobuf-dev protobuf-compiler libjansson-dev screen build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python zlib1g-dev wget bsdmainutils automake
so, I tried:
1): Compiled and installed libsnark according to the instructions from https://github.com/scipr-lab/libsnark
2):dpkg -S libboost_system
libboost-system1.58-dev:amd64: /usr/lib/x86_64-linux-gnu/libboost_system.a
libboost-system1.58.0:amd64: /usr/lib/x86_64-linux-gnu/libboost_system.so.1.58.0
libboost-system1.58-dev:amd64: /usr/lib/x86_64-linux-gnu/libboost_system.so
Hi, I got some trouble while trying to set up the zcash mining pool. Would you please give me a help to find the reasons which caused the error.
OS:Ubuntu 16.04.5 LTS (GNU/Linux 4.4.0-131-generic x86_64) https://github.com/zcash/zcash (V1.1.2) https://github.com/eXtremal-ik7/libp2p -b version/0.3
steps: 1:Compiled and run zcash
./zcutil/fetch-params.sh
./zcutil/build.sh -j$(nproc)
screen -dmS "zecnode" ./ZEC/zcash/src/zcashd
All blocks are downloaded.......2. While following the instructions on page https://github.com/eXtremal-ik7/pool_frontend_zcash to install all items, I encountered an error when I executed the below commands:
cd /opt/ZEC/zcash
nano Makefile
LIBZCASH_LIBS = -lsnark -lgmp -lgmpxx -lboost_system-mt -lcrypto -lsodium -fopenmp -L/opt/ZEC/poolcore/x86_64-Linux/zcash -lpoolrpczcash -L/opt/ZEC/libp2p/x86_64-Linux/p2p -lp2p -L/opt/ZEC/libp2p/x86_64-Linux/asyncio -lasyncio-0.3 -lrt
cd src
nano Makefile
LIBZCASH_LIBS = -lsnark -lgmp -lgmpxx -lboost_system-mt -lcrypto -lsodium -fopenmp -L/opt/ZEC/poolcore/x86_64-Linux/zcash -lpoolrpczcash -L/opt/ZEC/libp2p/x86_64-Linux/p2p -lp2p -L/opt/ZEC/libp2p/x86_64-Linux/asyncio -lasyncio-0.3 -lrt
cd ..
patch -p0 < /opt/ZEC/pool_frontend_zcash/pool.diff
make -j2
error message:
........
/usr/bin/ld: cannot find -lsnark;
/usr/bin/ld: cannot find -lboost_system-mt;
...............
I confirmed that I ran the below command successfully:
sudo apt-get install cmake libssl-dev libsodium-dev libpcre3-dev libleveldb-dev libboost-all-dev libgmp-dev libprotobuf-dev protobuf-compiler libjansson-dev screen build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python zlib1g-dev wget bsdmainutils automake
so, I tried: 1): Compiled and installed libsnark according to the instructions from https://github.com/scipr-lab/libsnark 2):dpkg -S libboost_system libboost-system1.58-dev:amd64: /usr/lib/x86_64-linux-gnu/libboost_system.a libboost-system1.58.0:amd64: /usr/lib/x86_64-linux-gnu/libboost_system.so.1.58.0 libboost-system1.58-dev:amd64: /usr/lib/x86_64-linux-gnu/libboost_system.so
ln -s /usr/lib/x86_64-linux-gnu/libboost_system.a /usr/lib/libboost_system-mt.a ln -s /usr/lib/x86_64-linux-gnu/libboost_system.so.1.58.0 /usr/lib/libboost_system-mt.so.1.58.0 ln -s /usr/lib/x86_64-linux-gnu/libboost_system.so /usr/lib/libboost_system-mt.so
Try Again:
cd /opt/ZEC/zcash
make -j2
The error still existed as following:
root@ZECPOOL:/opt/ZEC/zcash# nano Makefile root@ZECPOOL:/opt/ZEC/zcash# cd src root@ZECPOOL:/opt/ZEC/zcash/src# nano Makefile root@ZECPOOL:/opt/ZEC/zcash/src# cd .. root@ZECPOOL:/opt/ZEC/zcash# patch -p0 < /opt/ZEC/pool_frontend_zcash/pool.diff patching file src/init.cpp Hunk #1 succeeded at 71 (offset 13 lines). Hunk #2 succeeded at 1828 (offset 192 lines). patching file src/main.cpp Hunk #1 succeeded at 44 (offset 5 lines). Hunk #2 succeeded at 3139 (offset 429 lines). patching file src/miner.cpp Hunk #1 succeeded at 464 (offset 8 lines). root@ZECPOOL:/opt/ZEC/zcash# nano Makefile root@ZECPOOL:/opt/ZEC/zcash# cd src\
root@ZECPOOL:/opt/ZEC/zcash#
Would you help me find out what’s wrong and how to solve the problem? thk u!