Hi all, I am unable to compile fontconfig-2.3.93. I have libiconv 1.9.1-i586-4vl5 installed, as well as glibc 2.3.4. My system is: Dell Inspiron 5100 Vector Linux SOHO 5.1 2.8GHz P4 ATI Radeon 7500 Mobility ( 64MB ) 768MB RAM fontconfig-2.2.96 compiles and installs fine. [root@vtec/usr/src/fontconfig-2.3.93]# grep iconv config.log configure:20702: checking iconv.h usability configure:20746: checking iconv.h presence configure:20817: checking for iconv.h configure:21226: checking for iconv ac_cv_func_iconv=yes ac_cv_header_iconv_h=yes [root@vtec/usr/src/fontconfig-2.3.93]# make make all-recursive make[1]: Entering directory `/usr/src/fontconfig-2.3.93'' Making all in fontconfig make[2]: Entering directory `/usr/src/fontconfig-2.3.93/fontconfig'' make[2]: Nothing to be done for `all''. make[2]: Leaving directory `/usr/src/fontconfig-2.3.93/fontconfig'' Making all in fc-case make[2]: Entering directory `/usr/src/fontconfig-2.3.93/fc-case'' make[2]: Nothing to be done for `all''. make[2]: Leaving directory `/usr/src/fontconfig-2.3.93/fc-case'' Making all in fc-lang make[2]: Entering directory `/usr/src/fontconfig-2.3.93/fc-lang'' make[2]: Nothing to be done for `all''. make[2]: Leaving directory `/usr/src/fontconfig-2.3.93/fc-lang'' Making all in fc-glyphname make[2]: Entering directory `/usr/src/fontconfig-2.3.93/fc-glyphname'' make[2]: Nothing to be done for `all''. make[2]: Leaving directory `/usr/src/fontconfig-2.3.93/fc-glyphname'' Making all in src make[2]: Entering directory `/usr/src/fontconfig-2.3.93/src'' make[2]: Nothing to be done for `all''. make[2]: Leaving directory `/usr/src/fontconfig-2.3.93/src'' Making all in fc-cache make[2]: Entering directory `/usr/src/fontconfig-2.3.93/fc-cache'' /bin/sh ../libtool --tag=CC --mode=link 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 ../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 `/usr/src/fontconfig-2.3.93/fc-cache'' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/fontconfig-2.3.93'' make: *** [all] Error 2
On Wed, 2006-03-01 at 02:40 -0800, will wrote:> Hi all, > > I am unable to compile fontconfig-2.3.93. > > I have libiconv 1.9.1-i586-4vl5 installed, as well as glibc 2.3.4. > > My system is: > Dell Inspiron 5100 > Vector Linux SOHO 5.1 > 2.8GHz P4 > ATI Radeon 7500 Mobility ( 64MB ) > 768MB RAM > > fontconfig-2.2.96 compiles and installs fine.It''s just a mistake to put libiconv onto a system with a GLibc from the last 5 years. You need to delete all traces of it off your system, or all sorts of things will break in weird ways. (The problem looks like fontconfig included iconv.h from libiconv rather than the correct system iconv.h, but wasn''t linked with the libiconv -liconv.) Owen
On Wed, 01 Mar 2006 06:55:35 -0500 Owen Taylor <otaylor@redhat.com> wrote:> On Wed, 2006-03-01 at 02:40 -0800, will wrote: > > Hi all, > > > > I am unable to compile fontconfig-2.3.93. > > > > I have libiconv 1.9.1-i586-4vl5 installed, as well as glibc 2.3.4. > > > > My system is: > > Dell Inspiron 5100 > > Vector Linux SOHO 5.1 > > 2.8GHz P4 > > ATI Radeon 7500 Mobility ( 64MB ) > > 768MB RAM > > > > fontconfig-2.2.96 compiles and installs fine. > > It''s just a mistake to put libiconv onto a system with a GLibc from > the last 5 years. You need to delete all traces of it off your system, > or all sorts of things will break in weird ways. > > (The problem looks like fontconfig included iconv.h from libiconv > rather than the correct system iconv.h, but wasn''t linked with the > libiconv -liconv.) > > Owen > >Finally got it to compile... you were right. I ended up having to upgrade glibc to 2.3.6 (PITA!!) Thanks for your help.