GNU bug report logs -
#10578
warning about mismatch between compile and run-time PNG libraries
Previous Next
Reported by: Lars Ingebrigtsen <larsi <at> gnus.org>
Date: Sun, 22 Jan 2012 16:08:02 UTC
Severity: minor
Tags: patch
Found in version 24.0.92
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #55 received at 10578 <at> debbugs.gnu.org (full text, mbox):
>>> 2) If I have both libpng12 and 14 installed, why is Emacs building
>>> against 14 and then preferring 12 when running?
>> Because Emacs on GNU/Linux doesn't use the kind of machinery it does
>> on MS-Windows, whereby it will reject 12 if it was compiled against
>> 14. See w32-win.el:dynamic-library-alist, and in particular how it
>> consults the variable libpng-version (which is set at compile time).
> Right. From what ldd said, it seemed like it was (dynamically) linked
> against both lippng12 and 14, which seems odd to me. Is that a bug?
Emacs probably links against one of the two, and then one of the other
libs used by Emacs (e.g., Gtk) link to the other one.
> Anyway, this is the first time I've seen something like this. My home
> machines usually grow very old and get a lot of different versions of
> various libraries over the year, but compilation of stuff usually
> doesn't fail just because of that.
My machines also accumulate stuff like that and I rarely bump into the
problem, but it can happen.
Stefan
This bug report was last modified 9 years and 104 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.