[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs fails to build -- XRenderQueryExtension undefined
From: |
YAMAMOTO Mitsuharu |
Subject: |
Re: emacs fails to build -- XRenderQueryExtension undefined |
Date: |
Tue, 12 Jan 2010 18:22:59 +0900 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) |
>>>>> On Tue, 12 Jan 2010 16:54:21 +0900, Miles Bader <address@hidden> 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
address@hidden