Re: [PATCH] lib, ruby: make use of -Wl,--no-undefined configurable

Subject: Re: [PATCH] lib, ruby: make use of -Wl,--no-undefined configurable

Date: Sun, 14 Jun 2015 20:34:26 +0200

To: Jinwoo Lee,


From: David Bremner

Jinwoo Lee <> writes:

> When I apply those 2 patches from you, things seem to work.  I still get
> warnings like below, but they don't seem severe.  I'm not sure if the
> ruby binding actually works though.
> ld: warning: ignoring file ../../lib/libnotmuch.dylib, file was built for x86_64 which is not the architecture being linked (i386): ../../lib/libnotmuch.dylib

That one is a bit worrying, but I don't know enough about OS X to know
for sure. If you have time/interest, can you try running the tests in

Just apply the patch and make tests. That should indicate if the
bindings are basically working.