<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Yes, you can use a newer version of libpng. I have removed that specific dependence from recent versions of the configure script at
<a href="https://github.com/j-m-adams/GrADS" id="LPNoLPOWALinkPreview" class="elementToProof">
https://github.com/j-m-adams/GrADS</a>. GRIB2 needs it to support all the methods for compression.
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
--Jennifer<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> gradsusr <gradsusr-bounces@gradsusr.org> on behalf of Michael Mase <masester@gmail.com><br>
<b>Sent:</b> Sunday, October 9, 2022 8:03 PM<br>
<b>To:</b> GrADS Users Forum <gradsusr@gradsusr.org><br>
<b>Subject:</b> [gradsusr] Building for GRIB2 on Apple silicon</font>
<div> </div>
</div>
<div>
<div dir="ltr">libpng15 is not support on arm64 architecture and for some reason it is required for grib2 support?
<div><br>
</div>
<div>grib2<br>
-----<br>
looking in other system locations<br>
checking grib2.h usability... yes<br>
checking grib2.h presence... yes<br>
checking for grib2.h... yes<br>
checking for main in -lgrib2c... yes<br>
checking for main in -lpng15... no<br>
</div>
<div><br>
</div>
<div>Can the dependency be swapped to libpng16. Also, a bit confused why libpng is required for grib2 support.</div>
</div>
</div>
</body>
</html>