unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 10578@debbugs.gnu.org
Subject: bug#10578: 24.0.92; No png images on OpenSUSE 12.1
Date: Wed, 25 Jan 2012 20:49:32 -0500	[thread overview]
Message-ID: <jwvaa5b1bgm.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <8739b3k2ex.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 25 Jan 2012 20:28:06 +0100")

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





  reply	other threads:[~2012-01-26  1:49 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-22 16:12 bug#10578: 24.0.92; No png images on OpenSUSE 12.1 Lars Ingebrigtsen
2012-01-22 16:30 ` Eli Zaretskii
2012-01-22 16:50   ` Lars Magne Ingebrigtsen
2012-01-22 16:59     ` Achim Gratz
2012-01-22 17:02     ` Andreas Schwab
2012-01-25 19:25       ` Lars Ingebrigtsen
2012-01-22 17:51     ` Eli Zaretskii
2012-01-22 18:12       ` Eli Zaretskii
2012-01-22 19:32         ` Juanma Barranquero
2012-01-22 20:41           ` Eli Zaretskii
2012-01-22 21:25             ` Juanma Barranquero
2012-01-22 21:38               ` Juanma Barranquero
2012-01-23  1:11             ` Juanma Barranquero
2012-01-25 19:31               ` Lars Ingebrigtsen
2012-01-26  4:26                 ` Juanma Barranquero
2012-01-26  5:43                   ` Eli Zaretskii
2012-01-26 12:27                     ` Juanma Barranquero
2012-01-26 13:45                       ` Eli Zaretskii
2012-01-26 14:59                         ` Juanma Barranquero
2012-01-26 17:22                         ` Juanma Barranquero
2012-01-26 17:26                           ` Juanma Barranquero
2016-02-08  6:18                           ` Lars Ingebrigtsen
2016-02-08 18:17                             ` Eli Zaretskii
2016-02-09  0:13                               ` Lars Ingebrigtsen
2016-02-09  0:17                                 ` Lars Ingebrigtsen
2016-02-09  0:23                                 ` Lars Ingebrigtsen
2016-02-09  3:41                                   ` Eli Zaretskii
2012-01-25 19:28       ` Lars Ingebrigtsen
2012-01-26  1:49         ` Stefan Monnier [this message]
2012-01-26 17:21         ` Achim Gratz
2012-01-22 16:46 ` Achim Gratz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvaa5b1bgm.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=10578@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).