Skip to contentSkip to conversation

git -build failure with gettext-0.18.2.1

DISCUSSION Treeve Jelbert 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

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