cairo on Tiger: can't locate file for: -lXrender

Ryan Schmidt ryandesign at macports.org
Wed Jan 14 22:47:23 PST 2009


On Jan 14, 2009, at 21:16, Bryan Blackburn wrote:

> On Wed, Jan 14, 2009 at 08:15:56PM -0600, Ryan Schmidt said:
>> I can't install cairo on Tiger:
> [...]
>> .libs/cairo-deflate-stream.o .libs/cairo-svg-surface.o   -L/mp/lib
>> /mp/lib/libpixman-1.dylib -lm /mp/lib/libfontconfig.dylib /mp/
>> lib/libiconv.dylib /mp/lib/libexpat.dylib /mp/lib/libfreetype.dylib /
>> mp/lib/libpng12.dylib /mp/lib/libX11.dylib /mp/lib/libXau.dylib /mp/
>> lib/libXdmcp.dylib -lz -lXrender  -Wl,-framework -Wl,CoreServices -
>> Wl,-framework -Wl,ApplicationServices -Wl,-framework -Wl,CoreServices
>> -Wl,-framework -Wl,ApplicationServices -Wl,-framework -
>> Wl,ApplicationServices   -install_name  /mp/lib/libcairo.2.dylib -
>> compatibility_version 10803 -current_version 10803.6 -Wl,- 
>> single_module
>> /usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: can't locate  
>> file for:
>> -lXrender
>
> The xrender port is the one that supplies libXrender, so I'd say if  
> you
> don't have one in /usr/X11R6/lib then you'll need the port.

Yes I do have:

-rw-r--r--   1 root  wheel  78144 Feb 26  2008 /usr/X11R6/lib/ 
libXrender.1.2.dylib
lrwxr-xr-x   1 root  wheel     20 Sep  5 20:11 /usr/X11R6/lib/ 
libXrender.1.dylib -> libXrender.1.2.dylib
-rw-r--r--   1 root  wheel  78684 Mar 23  2007 /usr/X11R6/lib/ 
libXrender.a
lrwxr-xr-x   1 root  wheel     20 Sep  5 20:11 /usr/X11R6/lib/ 
libXrender.dylib -> libXrender.1.2.dylib


> Though oddly I
> notice there's no reference to /usr/X11R6/lib in that compile line  
> at all,
> which means it may not see one there even if you do have it.  Since  
> things
> have been in flux, perhaps something became attached to the one in
> ${prefix}/lib so it isn't looking in /usr/X11R6 at all now?

I would not be surprised if it assumed that libXrender is in the same  
place that libX11 is. I may just have to reinstall all X-using ports,  
like Jeremy says.





More information about the macports-dev mailing list