git -build failure with gettext-0.18.2.1
- From
- Treeve Jelbert <treeve@scarlet.be>
- Date
- Apr 29, 2013, 19:25 UTC
- Message-ID
- <4428316.71zalWqGCo@horos>
git-1.8.2.2 glibc-2.17 gettext-0.18.2.1
Recent gettext versions install several libraries: /usr/lib/libgettextlib-0.18.2.so /usr/lib/libgettextsrc-0.18.2.so /usr/lib/libintl.so.8.1.2
/usr/include/autosprintf.h /usr/include/gettext-po.h
while glibc installs
/usr/include/libintl.h
git reports:
checking for gettext in -lc... yes
checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes
git build fails while trying to link
LINK git-imap-send libgit.a(diff.o): In function `parse_dirstat_params.isra.19': diff.c:(.text+0x1f0f): undefined reference to `libintl_gettext'
I tried adding
export LIBS="-lintl"
I also tried
export NO_GETTEXT=1
before the build but to no avail