[cairo] Compile error with Cairo 1.0.0/1.0.2 on Mac OS X

Mike Emmel mike.emmel at gmail.com
Wed Nov 16 05:25:09 PST 2005


Shouldn't you be using ATSUI by default on the Mac or not ?
Mike

On 11/16/05, Carl Worth <cworth at cworth.org> wrote:
> On Tue, 15 Nov 2005 00:12:13 -0500, Karim Zaki wrote:
> > gcc -g -O2 -o .libs/imagediff imagediff.o  ./.libs/libcairotest.a
> > ../src/.libs/libcairo.dylib -L/usr/X11R6/lib -lXrender -lXext -lX11
> > -L/usr/local/lib -lpng12 -lfontconfig -lfreetype -lz -lpthread
> > /usr/bin/ld: Undefined symbols:
> > _FcFini
>
> FcFini only exists in newer versions of fontconfig (since 2.2.91 it
> appears).
>
> Cairo's use of FcFini is supposed to be conditional on the existence
> of the function, based on a check in the configure script. One
> possible cause here is that you have two different versions of
> fontconfig on your system, and the configure script found one with
> FcFini while the linker is finding one without it for some
> reason. (Check in /usr/X11R6/lib and /usr/local/lib for example.)
>
> You have several options for fixing this or working around it:
>
> 1) Tracking down the two fontconfig versions and removing the old one
>    or otherwise ensuring that cairo only sees one of the versions.
>
> 2) Editing cairo's config.h, replacing:
>
>         #define HAVE_FCFINI 1
>
>    with:
>
>         /* #undef HAVE_FCFINI */
>
> 3) Ignoring this error. It's part of the test suite that is failing to
>    build here, not cairo itself, so you should be able to use cairo
>    still even with this problem. "make -k" might come in handy if you
>    go this route.
>
> I hope one of the options above helps.
>
> Have fun with cairo.
>
> -Carl
>
>
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://cairographics.org/cgi-bin/mailman/listinfo/cairo
>
>
>


More information about the cairo mailing list