Trying to compile cpuminer for Zumy on my opencompute nodes and I get a linker error.
/usr/bin/ld: cannot find -lz
collect2: error: ld returned 1 exit status
Makefile:1850: recipe for target 'cpuminer' failed
make[2]: *** [cpuminer] Error 1
E5-2620 v1 cpu's running Ubuntu 18.04.1 server.
Complies just fine on Ubuntu 18.04.1 desktop on my dual E5-2667 V3 main pc.
I made sure the server has all the same liblz files as the desktop.
Tried both ./build and ./autogen then make but no go.
Even tried to compile with all arch cpu flags on my main pc and copy it over to the server and it core dumps.
EDIT: To get it working I had to compile it on my E5-V3 pc and instead of using "build-allarch.sh" I had to specify the cpu flag as "sandybridge" then copied it over and now its mining.
Do not know why cpu flag of allarch would core dump.