[Wrf-users] Resolved: Re: WPS 3.3.1 OK, but no jasper no png

Bart Brashers bbrashers at environcorp.com
Wed Dec 14 09:59:27 MST 2011


Have you tried the versions of jasper and libpng that are in the EPEL repository?  It should be as simple as enabling EPEL, and doing a

# yum install jasper-libs libpng libpng-devel

I believe I compiled WPS/WRF using these versions, on CentOS x86_64.

Bart

From: wrf-users-bounces at ucar.edu [mailto:wrf-users-bounces at ucar.edu] On Behalf Of wxtofly
Sent: Tuesday, December 13, 2011 11:33 PM
To: Hein Zelle; WRF Users; WRF DA; WRF Users
Subject: [Wrf-users] Resolved: Re: WPS 3.3.1 OK, but no jasper no png

I reinstalled all fedora libz libpng and jasper.
I got this:
./ngl/libg2_4.a(dec_png.o): In function `dec_png_':
dec_png.c:(.text+0x148): undefined reference to `png_set_longjmp_fn'


I finally compiled  and installed  those three libraries (http://www.mmm.ucar.edu/wrf_tmp/WRF_OnLineTutorial/SOURCE_DATA/libs_for_wps.tar)
to my WPS working directory and adjusted all the configure paths to them.
I then succeeded in compiling ungrib with libpng and jasper.


It seems that the new libpng libraries  ( >1.4 )are not compatible with WPSV3.3.1 as distributed.

A patch by someone who knows what they are doing along the lines of the one described at:

http://stackoverflow.com/questions/5190554/unresolved-external-png-set-longjmp-fn-in-libpng

would be a welcome thing.

TJ Olney

________________________________
This message contains information that may be confidential, privileged or otherwise protected by law from disclosure. It is intended for the exclusive use of the Addressee(s). Unless you are the addressee or authorized agent of the addressee, you may not review, copy, distribute or disclose to anyone the message or any information contained within. If you have received this message in error, please contact the sender by electronic reply to email at environcorp.com and immediately delete all copies of the message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/wrf-users/attachments/20111214/03fd6934/attachment.html 


More information about the Wrf-users mailing list