Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

bug#14260: 24.3; build fails, undefined symbols _png_longjmp _png_set_longjmp_fn in image.o

24 views
Skip to first unread message

Eli Zaretskii

unread,
Apr 24, 2013, 3:58:50 PM4/24/13
to Joe Corneli, 14...@debbugs.gnu.org
> 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.



Joe Corneli

unread,
Apr 25, 2013, 5:38:22 AM4/25/13
to Eli Zaretskii, 14...@debbugs.gnu.org
On Wed, Apr 24, 2013 at 8:58 PM, Eli Zaretskii <el...@gnu.org> wrote:

> 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.

Thanks Eli - I've reported this to Macports, we'll see what they say.
https://trac.macports.org/ticket/38918



0 new messages