[gradsusr] Grads 2.2.0 gxprint libpng error
Jennifer M Adams
jadams21 at gmu.edu
Thu Mar 15 12:16:22 EDT 2018
Hi, Marco —
Did you see this post http://gradsusr.org/pipermail/gradsusr/2017-December/041377.html ?
What is the output from
> ldd /usr/util/grads/lib/libgxpCairo.so | grep png
Also, what size image are you trying to create?
# define PNG_USER_HEIGHT_MAX 1000000
# define PNG_USER_WIDTH_MAX 1000000
—Jennifer
> On Mar 15, 2018, at 11:46 AM, Marco Biordi - PODOS3D <marcobiordi at podos3d.sm> wrote:
>
> Hello users,
>
> when I run grads and make an hardcopy with the command gxprint I get an empty PNG image and GrADS return the following error
>
>
> libpng warning: Image width exceeds user limit in IHDR
> libpng warning: Image height exceeds user limit in IHDR
> gd-png: fatal libpng error: Invalid IHDR data
>
>
> I run GrADS 2.2.0, pre-built grads-2.2.0-bin-rhel6.4-x86_64.tar.gz.
>
> My system (Centos-6.5-x86_64) is still on libpng-1.2.49; when I run grads, it fails with error "GX Package Error: dlopen failed to get a handle on gxprint plug-in named "Cairo", "libpng15.so.15: cannot open shared object file: No such file or directory".
>
> So I have build myself libpng-1.15.12 and all commands except gxprint now seem to work.
>
>
> Before to run grads I do commands:
>
> > setenv LD_LIBRARY_PATH /usr/util/grads/libpng-1.5.12/lib
>
> > setenv GADDIR /usr/util/grads/data
>
> > setenv GAUDPT /usr/util/grads/udpt [ maybe redundant ]
>
> File udpt contains these lines:
>
> # Type Name Full path to shared object file
> # ---- ---- -------------------------------
> gxdisplay Cairo /usr/util/grads/lib/libgxdCairo.so
> gxdisplay X11 /usr/util/grads/lib/libgxdX11.so
> gxdisplay gxdummy /usr/util/grads/lib/libgxdummy.so
> *
> gxprint Cairo /usr/util/grads/lib/libgxpCairo.so
> gxprint GD /usr/util/grads/lib/libgxpGD.so
> gxprint gxdummy /usr/util/grads/lib/libgxdummy.so
>
>
> Folder /usr/util/grads/lib contains these files:
>
> /usr/wrfems/util/grads/lib/libgxdCairo.la
> /usr/wrfems/util/grads/lib/libgxdCairo.so
> /usr/wrfems/util/grads/lib/libgxdCairo.so.0
> /usr/wrfems/util/grads/lib/libgxdCairo.so.0.0.0
> /usr/wrfems/util/grads/lib/libgxdummy.la
> /usr/wrfems/util/grads/lib/libgxdummy.so
> /usr/wrfems/util/grads/lib/libgxdummy.so.0
> /usr/wrfems/util/grads/lib/libgxdummy.so.0.0.0
> /usr/wrfems/util/grads/lib/libgxdX11.la
> /usr/wrfems/util/grads/lib/libgxdX11.so
> /usr/wrfems/util/grads/lib/libgxdX11.so.0
> /usr/wrfems/util/grads/lib/libgxdX11.so.0.0.0
> /usr/wrfems/util/grads/lib/libgxpCairo.la
> /usr/wrfems/util/grads/lib/libgxpCairo.so
> /usr/wrfems/util/grads/lib/libgxpCairo.so.0
> /usr/wrfems/util/grads/lib/libgxpCairo.so.0.0.0
> /usr/wrfems/util/grads/lib/libgxpGD.la
> /usr/wrfems/util/grads/lib/libgxpGD.so
> /usr/wrfems/util/grads/lib/libgxpGD.so.0
> /usr/wrfems/util/grads/lib/libgxpGD.so.0.0.0
>
> Please can anybody help?
>
> Thanks in advance
>
> Marco
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://secure-web.cisco.com/1Q04si8BmlHol2T-Zo_GyLZ_jUTLPsD4uBPja_b4sPLFkOeCjdUUc8v4w0KCH2_XywFnbkvo9fF1O6LF2Jq7PbEPjI49yc_qQIsMyK8kNqgDRubNlI5EP5mqiCAYg-M_hsMNjFpzuT5gEXnLxYoVIyev-Qr7eazIyqvGwBoJ8CjuOaFNrmeuqMIxXtLY3NJU6nWsNAhf22LgMw7LFeLwMo2dAHeSdZ32LLjkoKvZ0zvwjR64aL_dBxHq0zt1_TXp9HBeON0yzqt-HJgBRc5l-gt5fG-xLl1iLwx6IsFXj6kb5sUuxndY4zE-_dkH2nhfj2Pwow2dQYoFDa2wBLNIMmc4m-Tw47HaFOgV3ucdHdlwi9UExbEOy8hGtVYzI_22lxIaPxXXEPSrW2cMCrsNISLTAeDoU-5KEHmEFaUKaEXUxAblC2QZ3b-m4BXP0Omyi/http%3A%2F%2Fgradsusr.org%2Fmailman%2Flistinfo%2Fgradsusr
--
Jennifer Miletta Adams
Center for Ocean-Land-Atmosphere Studies (COLA)
George Mason University
More information about the gradsusr
mailing list