From: Werner LEMBERG <wl@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: png support broken?
Date: Wed, 24 Sep 2003 00:26:59 +0200 (CEST) [thread overview]
Message-ID: <20030924.002659.92562054.wl@gnu.org> (raw)
In-Reply-To: <m1A1naB-000IeGC@rattlesnake.com>
> After evaluating (auto-image-file-mode t) I can view PNG images
> using
>
> today's CVS snapshot, Tue, 2003 Sep 23 12:14 UTC
> GNU Emacs 21.3.50.86 (i686-pc-linux-gnu, GTK+ Version 2.2.1)
> kernel 2.4.21,
> libpng10.so.0.1.0.15
> [I also have libpng12.so.0.1.2.5
> but not its related png.h and pngconf.h files
> for which ./configure checks]
>
> started with
>
> /usr/local/bin/emacs -q --no-site-file --eval '(blink-cursor-mode 0)'
I've now found out (with ldd) that I wasn't using libpng12 at all!
I've the following libraries of libpng in /usr/lib:
libpng.so -> libpng.so.2
libpng.so.1 -> libpng.so.1.0.89
libpng.so.1.0.89
libpng.so.2 -> libpng.so.2.1.0.12
libpng.so.2.1.0.12
And I have this in /usr/local/lib:
libpng.so -> libpng.so.3
libpng.so.3 -> libpng.so.3.1.2.5
libpng.so.3.1.2.5
libpng12.so -> libpng12.so.0
libpng12.so.0 -> libpng12.so.0.1.2.5
libpng12.so.0.1.2.5
I always thought that by default gcc searches /usr/local/include for
include files and /usr/local/lib for library files besides the
standard /usr/include and /usr/lib, respectively (I don't have the
environment variables INCLUDE_PATH and LIBRARY_PATH set). So I wonder
why gcc is using libpng.so.2 and not libpng.so.3? What am I doing
wrong?
After using LDFLAGS=/usr/local/lib during configuration my emacs is
finally linked to libpng.so.3.
Werner
prev parent reply other threads:[~2003-09-23 22:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-23 8:48 png support broken? Werner LEMBERG
2003-09-23 11:46 ` David Kastrup
2003-09-23 12:20 ` Werner LEMBERG
2003-09-24 8:41 ` Richard Stallman
2003-09-23 13:51 ` Robert J. Chassell
2003-09-23 22:26 ` Werner LEMBERG [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030924.002659.92562054.wl@gnu.org \
--to=wl@gnu.org \
--cc=emacs-devel@gnu.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.