[Fontconfig] fontconfig-2.3.2 compile error

Patrick Lam plam at MIT.EDU
Mon Oct 17 21:15:08 EST 2005

Quoting Donald Werder <d.werder at comcast.net>:

> 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.

Try using automake 1.9 and tell me if that helps.  I think it helped me.


More information about the Fontconfig mailing list