> Date: Wed, 24 Apr 2013 20:42:52 +0100
> From: Joe Corneli <
holtze...@gmail.com>
>
> If I turn on png support when I build,
>
> Does Emacs use -lpng?...................................yes
>
> then I get the appended error message. Note, I just installed fontforge
> before rebuilding Emacs, and after Googling it seems that most of the
> messages involving the symbols in question are associated with that
> program.
> [...]
> Undefined symbols:
> "_png_longjmp", referenced from:
> _my_png_error in image.o
> "_png_set_longjmp_fn", referenced from:
> _png_load_body in image.o
My crystal ball says that you somehow donwgraded your libraries to a
libpng version older than 1.5, while the headers are still for 1.5.
These functions are needed by Emacs for libpng 1.5 or later.