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

Jeremy Huddleston jeremyhu at macports.org
Wed Jan 14 21:04:00 PST 2009


On Jan 14, 2009, at 19:42, Ryan Schmidt wrote:

>> The problem is with your xorg-lib* libs.  Cairo is finding all of  
>> them in /mp, so it's expecting -lXrender to be in /mp as well.   
>> Mixing libs between x11prefix and prefix actually causes problems  
>> (see #17558).  I'd recommend one of two courses:
>>
>> 1) uninstall xorg-lib* and set the +system_x11 variant, so they are  
>> just stubs when we switch to port:* dependencies
>
> Set... do you mean put it in variants.conf?

Yeah...

>> or
>>
>> 2) Just install xorg-libs to make sure you have all the X11  
>> libraries in /mp.
>>
>> You should probably go through and rebuild everything that depends  
>> on X11 to make sure you have consistent linking
>
> For that, do I use the script you posted some time ago?

Yeah, that would do it for you... but I'm a bit more anal than that...  
I'd port uninstall then port install them ;)

> It just seems to me that any Tiger user with any X-using ports would  
> run into this issue. How are users supposed to be handling this issue?

by doing just as I mentioned above or by waiting until the  
dependencies are changed to port:XXXX instead of lib:XXXX and it  
should "just work"...


More information about the macports-dev mailing list