RE: libpng error: Application uses deprecated png_write_init() andmust be recompiled.

From: Tim Eads (teads@frontporch.com)
Date: Thu Aug 31 2000 - 09:51:19 MDT


Hi-

I was recently building up a few more PolyGraph pairs (BSD 3.4) and was
running into this error as well. As a workaround, I copied the following
files from /usr/local/lib to /usr/lib and gnuplot/P-Graph reporting worked
fine.

libpng.a libpng.so libpng.so.3

I didn't need to recompile anything.

-Tim

-----Original Message-----
From: Alex Rousskov [mailto:rousskov@measurement-factory.com]
Sent: Thursday, August 31, 2000 8:30 AM
To: Franklin, Valerie J
Cc: 'polygraph@ircache.net'
Subject: Re: libpng error: Application uses deprecated png_write_init()
andmust be recompiled.

On Thu, 31 Aug 2000, Franklin, Valerie J wrote:

> While running make-report we get the following error messages. We
> are using gnuplot 3.7, libpng 1.0.8, and zlib 1.1.3. (with Polygraph
> 2.5.4). Any help you could give use would be greatly appreciated.
>
> The complete error reads as follows:
>
> ./make_report: creating: `/tmp/polyrep/test2/index.html'
> Ambiguous use of pos => resolved to "pos" => at
> /export/home/ydhcgrg/polygraph-2.5.4/tools/ReportGen/plot_traces line 91.

This and similar warnings are produced by the Perl interpreter on some
platforms. You can safely ignore it. We will polish the code to remove
those warnings.

> /export/home/ydhcgrg/polygraph-2.5.4/tools/ReportGen/plot_traces:
plotting:
> `/tmp/polyrep/test2/rates.png'
> libpng error: Application uses deprecated png_write_init() and must be
> recompiled.

This error is probably from gnuplot use of libpng. I am not sure what is
the best way to fix this. You may want to try to recompile gnuplot with
the libpng library that is recommended in gnuplot release notes or
elsewhere (it looks like your libng library is newer than the gnuplot
code)... I am using libpng 1.0.3 with gnuplot 3.7, but more recent
libraries may work too.

HTH,

Alex.

P.S. Please report future "bugs" to polygraph-bugs alias and mention
     the OS you are using.



This archive was generated by hypermail 2b29 : Tue Jul 10 2001 - 12:00:15 MDT