Compile problem of /usr/ports/x11-fonts/fontconfig

Jeremy Messenger mezz7 at cox.net
Sat Feb 7 10:00:39 PST 2009


On Thu, 05 Feb 2009 12:02:04 -0600, Forrest Aldrich <forrie at gmail.com>  
wrote:

> Greetings,
>
> I'd like to ask about this compile problem for  
> /usr/ports/x11-fonts/fontconfig, on FreeBSD 7.1-STABLE
>
> mkdir .libs
> cc -O2 -pipe -march=pentium4 -fno-strict-aliasing -o .libs/fc-cache  
> fc-cache.o  ../src/.libs/libfontconfig.so -L/usr/local/lib  
> /usr/local/lib/libfreetype.so -lz /usr/local/lib/libexpat.so   
> -Wl,--rpath -Wl,/usr/local/lib
> /usr/bin/ld: warning: libz.so.3, needed by  
> /usr/local/lib/libfreetype.so, may conflict with libz.so.4
> ../src/.libs/libfontconfig.so: undefined reference to `FT_Select_Size'

It looks like your installed freetype2 is out of date. You need to follow  
this:

http://www.freebsd.org/gnome/docs/bugging.html (ignore the  
gnomelogalyzer.sh part).

Cheers,
Mezz

> gmake[2]: *** [fc-cache] Error 1
> gmake[2]: Leaving directory  
> `/usr/ports/x11-fonts/fontconfig/work/fontconfig-2.6.0/fc-cache'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory  
> `/usr/ports/x11-fonts/fontconfig/work/fontconfig-2.6.0'
> gmake: *** [all] Error 2
> *** Error code 2
>
> This was encountered while compiling qt4 (dependencies).  
> Thanks.


-- 
mezz7 at cox.net  -  mezz at FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/  -  gnome at FreeBSD.org


More information about the freebsd-gnome mailing list