<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
I reinstalled all fedora libz libpng and jasper. <br>
I got this:<br>
./ngl/libg2_4.a(dec_png.o): In function `dec_png_':<br>
dec_png.c:(.text+0x148): undefined reference to
`png_set_longjmp_fn' <br>
<br>
<br>
I finally compiled and installed those three libraries (<a
href="http://www.mmm.ucar.edu/wrf_tmp/WRF_OnLineTutorial/SOURCE_DATA/libs_for_wps.tar">http://www.mmm.ucar.edu/wrf_tmp/WRF_OnLineTutorial/SOURCE_DATA/libs_for_wps.tar</a>)<br>
to my WPS working directory and adjusted all the configure paths to
them.<br>
I then succeeded in compiling ungrib with libpng and jasper.<br>
<br>
<br>
It seems that the new libpng libraries ( >1.4 )are not
compatible with WPSV3.3.1 as distributed.<br>
<br>
A patch by someone who knows what they are doing along the lines of
the one described at:<br>
<br>
<a
href="http://stackoverflow.com/questions/5190554/unresolved-external-png-set-longjmp-fn-in-libpng">http://stackoverflow.com/questions/5190554/unresolved-external-png-set-longjmp-fn-in-libpng</a><br>
<br>
would be a welcome thing.<br>
<br>
TJ Olney <br>
</body>
</html>