[Fontconfig] fontconfig-2.3.2 compile error

Donald Werder d.werder at comcast.net
Mon Oct 17 06:48:09 EST 2005

I got the following error from make:
mkdir .libs
gcc -g -O2 -o .libs/fc-cache fc-cache.o  -L/usr/local/lib 
../src/.libs/libfontconfig.so -Wl,--rpath -Wl,/usr/local/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/dhon/src/fontconfig-2.3.2/fc-cache'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dhon/src/fontconfig-2.3.2'
make: *** [all] Error 2
How do I fix this? I already had libiconv installed before I tried to 
install fontconfig.

Thank you for any help.

More information about the Fontconfig mailing list