[cairo] ld: Undefined symbol: _compress with cairo 1.2.0 on Mac OS X; cairo 1.1.10 was fine

John Ellson ellson at research.att.com
Tue Jul 11 03:00:12 PDT 2006


Behdad Esfahbod wrote:
> On Mon, 2006-07-10 at 18:11 -0400, Carl Worth wrote: 
>   
>> On Wed, 5 Jul 2006 20:39:31 +0200, Ryan Schmidt wrote:
>>     
>>> I was successfully building everything with cairo 1.1.10, but just  
>>> saw that 1.2.0 was released and so I dropped that in, but  
>>> unfortunately it won't compile; I get an error (copied below in full)  
>>> about the symbol _compress being undefined.
>>>
>>>       
>> Behdad, do you know of any change that might have broken this between
>> 1.1.10 and 1.2.0?
>>     
>
> Don't think it's my fault.  Cairo doesn't directly use zlib, FreeType
> does.  In the link command, it just says "-lfontconfig -lfreetype",
> which makes me believe that "pkg-config --libs freetype2" is to be
> blamed.
>
>   
>> -Carl
>>     
>
>
>   

The compress() reference comes from cairo-pdf-surface.c:636 in 
compress_dup()

John


More information about the cairo mailing list