From Bugzilla Helper: User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.2.16-22 i686) When running pdftex on a file that includes a graphic image in png format, I get the following error message: libpng error: Application must be recompiled; version 1.0.6 was incompatible It appears that pdftex must be recompiled against a newer version of the libpng library. Reproducible: Always Steps to Reproduce: 1. Create a latex file that includes \usepackage{graphicx} 2. after \begin{document}, include a line of the form \includegraphics{figure.png}, where figure.png is a picture in png format. (I created mine using fig2dev.) 3. run pdflatex on the resulting file Actual Results: In addition to the error message listed above, here is another error message that I get:png_create_read_struct() failed Expected Results: Well, of course, pdftex should run and create a pdf file.
Yes. :-( rpm --rebuild tetex-*.src.rpm fixes the problem I think. In any case, the libpng that tetex carries around with it is no longer used, and fixed packages are in rawhide.
Hi. I tried rebuilding tetex according to your instruction. That did not solve the problem. (Same error message.) I also tried installing libpng.1.0.8-5.rpm and libpng-devel.1.0.8-5.rpm however I got dependancy errors. Actually, I'm unclear why I would need a newer version of libpng anyway. Did my rebuild actually recompile pdftex? The date on the binary is Jul 19, 2000. (The date on libpng is Jul 27.)
Please update your tetex-dvilj, tetex-xdvi, tetex-dvips, tetex-fonts, tetex-afm, tetex-latex and tetex packages to at least 1.0.7-12, where this problem is fixed (rawhide.redhat.com).