GNU bug report logs - #10578
warning about mismatch between compile and run-time PNG libraries

Previous Next

Package: emacs;

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


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 10578 <at> debbugs.gnu.org
Subject: bug#10578: 24.0.92; No png images on OpenSUSE 12.1
Date: Wed, 25 Jan 2012 20:28:06 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

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

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.

-- 
(domestic pets only, the antidote for overdose, milk.)
  http://lars.ingebrigtsen.no  *  Sent from my Rome




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.