all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
To: Miles Bader <miles@gnu.org>
Cc: "Jan Djärv" <jan.h.d@swipnet.se>, emacs-devel@gnu.org
Subject: Re: emacs fails to build -- XRenderQueryExtension undefined
Date: Tue, 12 Jan 2010 18:22:59 +0900	[thread overview]
Message-ID: <wlzl4jk77w.wl%mituharu@math.s.chiba-u.ac.jp> (raw)
In-Reply-To: <buovdf7iwr6.fsf@dhlpc061.dev.necel.com>

>>>>> On Tue, 12 Jan 2010 16:54:21 +0900, Miles Bader <miles@gnu.org> said:

>> What system are you on?  How did you configure Emacs?
>> If Xft requires Xrender at link time it should say so in the pkg-config
>> output.  Normally on GNU/Linux, -Xrender is a private dependency,

> It only says so in the pkg-config output if you specify --static
> (otherwise, I think that since it's a "private" dependency of libxft.so,
> it uses libxft.so's dependencies to load the library at runtime, but the
> linker won't see it):

>    $ pkg-config --libs xft
>    -lXft  
>    $ pkg-config --libs --static xft
>    -lXft -lXrender -lfontconfig -lexpat -lfreetype -lz -lX11 -lpthread -lxcb -lXau -lXdmcp  

The results on Ubuntu 9.10 are similar, and there is no -lXrender in
src/Makefile in my build dir.  But the linker does not complain, and
ldd shows libXrender.so.1 for me.

$ ldd /usr/lib/libXft.so
	linux-gate.so.1 =>  (0x00320000)
	libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x0076b000)
	libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00d5c000)
	libz.so.1 => /lib/libz.so.1 (0x00cc9000)
	libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00a82000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0x00124000)
	libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x008aa000)
	libexpat.so.1 => /lib/libexpat.so.1 (0x0033f000)
	libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00253000)
	libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x00fc2000)
	/lib/ld-linux.so.2 (0x00ee7000)
	libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x003da000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0x00ead000)
	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00af5000)

				     YAMAMOTO Mitsuharu
				mituharu@math.s.chiba-u.ac.jp




  parent reply	other threads:[~2010-01-12  9:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-12  3:12 emacs fails to build -- XRenderQueryExtension undefined Miles Bader
2010-01-12  7:39 ` Jan Djärv
2010-01-12  7:54   ` Miles Bader
2010-01-12  8:06     ` Miles Bader
2010-01-12  8:23     ` Jan Djärv
2010-01-12 16:25       ` Chong Yidong
2010-01-12  9:22     ` YAMAMOTO Mitsuharu [this message]
2010-01-12  9:44       ` Miles Bader
2010-01-12 10:01         ` Sven Joachim

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=wlzl4jk77w.wl%mituharu@math.s.chiba-u.ac.jp \
    --to=mituharu@math.s.chiba-u.ac.jp \
    --cc=emacs-devel@gnu.org \
    --cc=jan.h.d@swipnet.se \
    --cc=miles@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.