Glynn Clements <glynn(a)sensei.co.uk> writes:
Larry Ayers wrote:
> consistently fail if png support is enabled. This is the error
> message:
>
> glyphs-eimage.o: In function `png_instantiate':
> glyphs-eimage.o(.text+0x663): undefined reference to `png_set_strip_alpha'
> glyphs-eimage.o(.text+0x676): undefined reference to `png_get_valid'
> glyphs-eimage.o(.text+0x691): undefined reference to `png_set_strip_alpha'
> glyphs-eimage.o(.text+0x6f6): undefined reference to `png_get_bKGD'
> collect2: ld returned 1 exit status
> make[1]: *** [temacs] Error 1
> make: *** [dump-elcs] Error 2
>
> Is the newer libpng incompatible with XEmacs?
No. It is preferred as it fixes some problems in the beta PNGs. The
color problem I was reporting recently was actually due to using a
too-old libpng and was fixed by upgrading.
IIRC, you need 0.96 (libpng.so.0.96). There is a problem with 0.89,
in
that it calls itself libpng.so.1.0.89, although it's actually older.
This looks more like a problem where the wrong libpng is being linked
in. Larry, does -L/usr/local/lib appear on the link line?