emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master e9ca57c: Work even if libpng is installed in /usr/local


From: Lars Ingebrigtsen
Subject: Re: master e9ca57c: Work even if libpng is installed in /usr/local
Date: Mon, 12 Feb 2018 09:40:19 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

address@hidden (Paul Eggert) writes:

> branch: master
> commit e9ca57cfcbaf1a8dfc6bde5a2afd5f3c7b357cb1
> Author: Paul Eggert <address@hidden>
> Commit: Paul Eggert <address@hidden>
>
>     Work even if libpng is installed in /usr/local
>
>     Problem reported by Werner Lemberg in:
>     https://lists.gnu.org/r/emacs-devel/2018-02/msg00304.html
>     * configure.ac: Try pkg-config before libpng-config.

This led to this build error for me on Debian jessie:

/usr/bin/ld: image.o: undefined reference to symbol 'png_set_sig_bytes@@PNG16_0'
//usr/lib/x86_64-linux-gnu/libpng16.so.16: error adding symbols: DSO missing 
from command line
collect2: error: ld returned 1 exit status
Makefile:606: recipe for target 'temacs' failed

Reverting the patch allows me to build Emacs again.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

[Prev in Thread] Current Thread [Next in Thread]