[gradsusr] Building for GRIB2 on Apple silicon

Jennifer M Adams jadams21 at gmu.edu
Wed Oct 12 21:35:05 EDT 2022


Yes, you can use a newer version of libpng. I have removed that specific dependence from recent versions of the configure script at https://github.com/j-m-adams/GrADS. GRIB2 needs it to support all the methods for compression.
--Jennifer
________________________________
From: gradsusr <gradsusr-bounces at gradsusr.org> on behalf of Michael Mase <masester at gmail.com>
Sent: Sunday, October 9, 2022 8:03 PM
To: GrADS Users Forum <gradsusr at gradsusr.org>
Subject: [gradsusr] Building for GRIB2 on Apple silicon

libpng15 is not support on arm64 architecture and for some reason it is required for grib2 support?

grib2
-----
looking in other system locations
checking grib2.h usability... yes
checking grib2.h presence... yes
checking for grib2.h... yes
checking for main in -lgrib2c... yes
checking for main in -lpng15... no

Can the dependency be swapped to libpng16. Also, a bit confused why libpng is required for grib2 support.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20221013/b200368d/attachment.html>


More information about the gradsusr mailing list