e.g. actual error report is '... libpng error: Application must be recompiled; version 1.0.6 was incompatible Error: pdflatex (file calmodulin.png): png_create_read_struct() failed ...' The same files work on an identical machine running RedHat 6.2
It should be sufficient a tetex-pdflatex recompile. Due to the quite big work involved, could someone do it at RH and put an update out? I think this could well be marked as a critical bug (if you need pdflatex). By the way. Shouldn't incompatible API changes on dynamic library bumps the mayor revision number?
Well, I think I solved it. It's not a problem of just recompilation: there is a bug in the tetex source package. In spite of being configured with --with-system-pnglib, there are object files compiled against it's internal libpng header files. What I did is to add this hack to the spec file: ****** --- tetex.spec Mon Dec 4 08:46:35 2000 +++ tetex-r.spec Mon Dec 4 08:46:35 2000 @@ -242,6 +242,11 @@ --with-system-ncurses --with-system-zlib --with-system-pnglib \ --disable-multiplatform --without-dialog --without-texinfo \ --datadir=/usr/share + +rm -rf libs/libpng +mkdir libs/libpng +ln -s /usr/include/png.h libs/libpng/png.h +ln -s /usr/include/pngconf.h libs/libpng/pngconf.h make ***** I made available the spec-file and the recompiled rpms at http://usuarios.tripod.es/r_mano/linux/ I added a R to the release (I am not official related to RH, so I did not feel in the right to bump the build number, especially with a so ugly hack).
*** Bug 22447 has been marked as a duplicate of this bug. ***
Fixed (by the hack you've suggested) in tetex-1.0.7-10. Thanks *very* much for submitting a fix.
*** Bug 22949 has been marked as a duplicate of this bug. ***