Build failure on OSX

Tomi Ollila tomi.ollila at iki.fi
Mon Dec 9 02:26:45 PST 2013


On Mon, Dec 09 2013, Bart Bunting <bart at bunting.net.au> wrote:

> Good morning,
>
> I am still having issues building notmuch from source on OSX.
>
> I'm unfortunately not sure if it is something specific to my setup or
> not.

Neither `git grep intl` nor `grep -r intl .` prints any output about intl
(before and after ./configure was run). My (linux) system doesn't have any
libintl*.a nor libintl*.so files...

/usr/include/libintl.h there is; it talks about "Message catalogs for
internationalization." and defines prototypes for *gettext & *textdomain*
functions..

I am too lazy to examine how that -lintl gets into the command line;
maybe some pkg-config emits that (maybe better add libintl to the
system)


Tomi


>
> I am running latest git version of notmuch, osx 10.9.
>
> Xapian and talloc are from homebrew.
>
> If I manually edit the makefile to remove -lintl everything builds ok.
> I'm not sure what the intl library is or does so not sure if something
> else is subtly broken.
>
> Can anyone else confirm the issue?  
>
>
> make V=1
> g++ command-line-arguments.o debugger.o gmime-filter-reply.o hooks.o notmuch.o notmuch-compact.o notmuch-config.o notmuch-count.o notmuch-dump.o notmuch-insert.o notmuch-new.o notmuch-reply.o notmuch-restore.o notmuch-search.o notmuch-setup.o notmuch-show.o notmuch-tag.o notmuch-time.o sprinter-json.o sprinter-sexp.o sprinter-text.o query-string.o mime-node.o crypto.o tag-util.o lib/libnotmuch.a util/libutil.a parse-time-string/libparse-time-string.a   -L/usr/local/Cellar/gmime/2.6.19/lib -L/usr/local/Cellar/glib/2.38.2/lib -lgmime-2.6 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl  -L/usr/local/Cellar/talloc/2.0.8/lib -ltalloc  -L/usr/local/Cellar/xapian/1.2.15/lib -lxapian -lz -o notmuch
> ld: library not found for -lintl
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> make: *** [notmuch] Error 1
>
>
> Kind regards
>
> Bart
> _______________________________________________
> notmuch mailing list
> notmuch at notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch


More information about the notmuch mailing list