Zlib example resides in L2/tests/zlibc_static directory. Follow build instructions to generate host executable and binary. The binary host file generated is named as “xil_zlib” and it is present in ./build directory.