[Fontconfig] fontconfig-2.3.2 compile error

文 见 abcdefg_1_1 at hotmail.com
Fri May 27 23:30:49 EST 2005

hi,  I have problems compiling fontconfig-2.3.2 and several previous 
version after 2.2.96.  
The error message is:
/bin/sh ../libtool --mode=link --tag=CC gcc  -g -O2   -o fc-cache  
fc-cache.o ../src/libfontconfig.la
gcc -g -O2 -o .libs/fc-cache fc-cache.o  ../src/.libs/libfontconfig.so 
-L/usr//lib /usr//lib/libfreetype.so -lz /usr//lib/libexpat.so -Wl,--rpath 
-Wl,/usr/local/lib -Wl,--rpath -Wl,/usr//lib
../src/.libs/libfontconfig.so: undefined reference to `libiconv_open'
../src/.libs/libfontconfig.so: undefined reference to `libiconv_close'
../src/.libs/libfontconfig.so: undefined reference to `libiconv'
collect2: ld returned 1 exit status
make[2]: *** [fc-cache] error 1
make[2]: Leaving directory `/home/jizezhao/gnome/xlib/fontconfig/fc-cache'
make[1]: *** [all-recursive] error 1
make[1]: Leaving directory `/home/jizezhao/gnome/xlib/fontconfig'
make: *** [all] error 2

I have install libiconv-1.9.2 from source code and have no such problem 
with installing fontconfig-2.2.96.

My system is fc3 with freetype-2.1.10 installed.

与联机的朋友进行交流,请使用 MSN Messenger:  http://messenger.msn.com/cn  

More information about the Fontconfig mailing list