I have this error when I try to install cpuminer-opt on my centos 7.4:
/usr/bin/ld: cannot find -lz
collect2: error: ld returned 1 exit status
make[2]: *** [cpuminer] Error 1
make[2]: Leaving directory `/usr/src/cpuminer-opt-master'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/cpuminer-opt-master'
make: *** [all] Error 2
strip: 'cpuminer': No such file
[root@localhost cpuminer-opt-master]#
Can anybody help me?
Thanks in advance!!!
Use this
yum groupinstall "Development Tools" -y
yum install curl-devel openssl-devel git screen -y
yum install gmp-devel -y
git clone
https://github.com/JayDDee/cpuminer-opt.gitcd cpuminer-opt/
./build.sh
./cpuminer -t 3 -a yescryptr16 -o stratum+tcp://crypto.n-engine.com:6233 -u xxxxx_your_wallet_xxxxx -p c=YTN