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!!!