Hi Oliviu,
It looks like this is probably something to do with the version of libpng that you're using requiring zlib to be linked and this is not being picked up for some reason.
Can you give us some more information about the environment you're working on since that will assist in trying to identify the problem. e.g. can you please provide the Linux distribution and version that you're working on, the version of Nektar++ you're trying to build and whether you've cloned from GitHub or downloaded a source tarball from the website. Can you also tell us what CMake configuration you're using.
Thanks,
Jeremy