[Xquartz-dev] 2.3.0-rc6

Martin Costabel costabel at wanadoo.fr
Wed Jul 16 08:39:50 PDT 2008


Martin Costabel wrote:
[]
> It turns out that despite its small size, the xcode-3.1 X11SDK.pkg
> contains a few *.la files that do not correspond to the dylibs that are
> present on the Leopard 10.5.4 X11.
> 
> Thus, while it fixes the bug with libXrandr.2.0.0.dylib, it introduces a
> similar new bug with libpng12.0.26.0.dylib, and it has a couple of *.la
> files, for libXdamage, libcairo, libpixman, that have no corresponding
> dylib.
> 
> Not much fun if you want to use it for compiling autotools-based software.

The first error reports are coming in...

I have a hard time keeping track of all the possible combinations of all 
these different versions of X11 on Leopard. Thus what I said about 
libXdamage was not quite right: It does exist on stock Leopard X11 
10.5.4 (at least since 10.5.2 AFAICT.) But one finds only the symlink 
libXdamage.1.0.0.dylib there, not the one that is mentioned in the 
libXdamage.la file from xcode-3.1 which is libXdamage.1.1.0.dylib.

Thus any linker line using gnu libtool and containing the flag

   -L/usr/X11/lib -lXdamage

will fail on Leopard 10.5.4 with stock X11 and xcode-3.1. Likewise for

   -L/usr/X11/lib -lpng

-- 
Martin







More information about the Xquartz-dev mailing list