From: Marco Roeland Date: Tue, 19 Jun 2007 13:24:56 GMT Subject: Re: Errors building git-1.5.2.2 on 64-bit Centos 5 Message-ID: <20070619132456.GA15023@fiberbit.xs4all.nl> In-Reply-To: On Tuesday June 19th 2007 at 14:00 Johannes Schindelin wrote: > On Tue, 19 Jun 2007, Bill Lear wrote: > > > Also breaks (tar fails) if I do the 'make configure; ./configure' > > route. > > Then there is a test missing in configure. > > > /home/blear/build/git-1.5.2.2/utf8.c:328: undefined reference to `libiconv' > > You are missing libiconv. On Linux there usually is no separate libiconv as this is integrated into GNU libc. Most of the time this kind of error results when somehow there _is_ a separate installation of libiconv under /usr/local/lib or something. An #include then finds the version under /usr/local/include/iconv.h which has rather different definitions, due to using all kind of macros. If this is Bills situation try uninstalling the separate iconv package or at least temporarily rename its iconv.h header. -- Marco Roeland