I was wondering if someone could assist me on the issue im having. Currency trying to test out CPU mining I have installed all the dependencies but when i try make i get this error. Running Debian 9.1
Code: Select all
/usr/bin/ld: cannot find -lz
Code: Select all
apt-get install build-essential libcurl4-openssl-dev git automake libtool libjansson* libncurses5-dev libssl-dev
Code: Select all
git clone --recursive https://github.com/tpruvot/cpuminer-multi.git
Code: Select all
./autogen.sh
Code: Select all
./configure CFLAGS="-march=native" --with-crypto --with-curl
Code: Select all
make
Code: Select all
/usr/bin/ld: cannot find -lz
collect2: error: ld returned 1 exit status
Makefile:900: recipe for target 'cpuminer' failed
make[2]: *** [cpuminer] Error 1
make[2]: Leaving directory '/root/cpuminer-multi'
Makefile:2530: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/cpuminer-multi'
Makefile:570: recipe for target 'all' failed
make: *** [all] Error 2