I ran into this myself just a couple of days ago (with a different application), so I put together a couple  of new IPKs to address this problem.
libpng-devel and 
zlib-devel are direct replacements for the older 
libpng and 
zlib IPKs floating around.  They are both ARM builds of the most recent versions of the libraries (
libpng 1.2 and 
zlib 1.2.1), and include all of the proper library symlinks.  They include the static and dynamic libraries, and the header files for on-the-Z development using 
zgcc.  The header files don\'t take up very much space if you\'re not using 
zgcc.
Since the 
zlib library is a prerequisite for 
libpng, 
libpng-devel is dependent on 
zlib-devel. 
If you would like to try them, I\'ve put them on my Zaurus page:
http://www.gelhaus.net/zaurusUninstall any older 
libpng and 
zlib IPKs you may have and install these in their place.