# git -build failure with gettext-0.18.2.1

1 messages from 2013-04-29 to 2013-04-29. Participants: Treeve Jelbert.
Thread: https://gitlist.dev/t/33674

## Treeve Jelbert, 2013-04-29 19:25

Subject: git -build failure with gettext-0.18.2.1
Message-ID: <4428316.71zalWqGCo@horos>
URL: https://gitlist.dev/e/4428316.71zalWqGCo%40horos

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

```
