robotgo uses CGO, some C code so a C compiler is needed. Maybe that's where it links against libz. The README mentions libpng requirement, maybe libpng needs libz.
CGO is not go, a cgo program has some parts in C, that involves every problem a C program can have. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.