[cairo] libXext missing?

Behdad Esfahbod behdad at behdad.org
Tue Nov 14 14:49:55 PST 2006


On Sat, 2006-11-11 at 00:54 -0500, Stephen Sinclair wrote:
> Hello,
> 
> I'm experimenting with cross-platform graphics libraries.
> Out of curiosity, I just went through the bother of compiling Cairo
> and all its dependancies on an OS X machine.  (I already know it works
> on Linux, but I wanted to see the current state of Mac support.)
> 
> I just wanted to report that everything went well with the appropriate
> configure parameters (--enable-atsui --enable-quartz), except that in
> the linking stage I got the following error:
> 
> ld: Undefined symbols:
> _XMissingExtension
> _XextAddDisplay
> _XextFindDisplay
> _XextRemoveDisplay
> /usr/bin/libtool: internal link edit command failed
> 
> 
> I resolved the problem quickly by manually adding "-lXext" after all
> instances of "-lXrender" in the generated src/Makefile.
> 
> I'm sure there's a better solution in configure.ac, but I just wanted
> to report this easily-fixed dependancy issue in case the Cairo
> developers want to fix it.

AFAIK cairo doesn't directly use those symbols, and on my Linux machine
it doesn't even seem to require that library at all.  So, it's probably
some other library's (xrender's?) misconfiguration.  What's the output
of 'pkg-config --libs xrender'?


behdad

> I did this with cairo-1.2.6, released a few days ago.  Apologies for
> not trying first on the source-controlled version before posting, for
> all I know it could already be fixed.
> 
> 
> Steve
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://cairographics.org/cgi-bin/mailman/listinfo/cairo
-- 
behdad
http://behdad.org/

"Commandment Three says Do Not Kill, Amendment Two says Blood Will Spill"
        -- Dan Bern, "New American Language"



More information about the cairo mailing list