When I run make after running ./configure in the root directory I get the following error:
backtrace -L/usr/local/lib -lm -lgmp -lsqlite3 -lz -o ccan/ccan/cdump/tools/cdump-enumstr
/usr/bin/ld: cannot find -lz
collect2: error: ld returned 1 exit status
Makefile:326: recipe for target 'ccan/ccan/cdump/tools/cdump-enumstr' failed
make: *** [ccan/ccan/cdump/tools/cdump-enumstr] Error 1
Looks like my machine is now missing some dependency but it's unclear to me what that is.
getinfo outputThis error is on the head of master and it didn't build so this command wouldn't output the relevant information.
Installing zlib1g-dev fixed this on Ubuntu amd64 18.04 LTS bionic
sudo apt-get install zlib1g-dev
Yes, the zlib dependency was recently introduced for the selective gossip syncing.
Most helpful comment
Installing zlib1g-dev fixed this on Ubuntu amd64 18.04 LTS bionic
sudo apt-get install zlib1g-dev