Re: Make fails with xapian custom installation

Subject: Re: Make fails with xapian custom installation

Date: Thu, 09 Dec 2021 12:27:34 -0400

To: Al Haji-Ali


From: David Bremner

Al Haji-Ali <> writes:

> On 09/12/2021, David Bremner wrote:
>> configure actually invokes xapian-config rather than pkg-config (I
>> forget why offhand). So you probably need to set XAPIAN_CONFIG in the
>> environment to the one in your /home when running configure.
> Ah OK. My xapian-config is also correctly configured
> ,----
> | ~ xapian-config --libs
> | -L/home/al/.local/stow/xapian/lib -lxapian
> `----
> Notmuch's configure has the correct paths for Xapian as seen in the compilation command I included before. The issue is the order of library folders.
> -- Al

Does it help if you set LDFLAGS on the make command line?  Looking at,  LDFLAGS are added before the other computed flags. So
something like

% make V=1 LDFLAGS=-L/home/al/.local/stow/xapian/lib

notmuch mailing list --
To unsubscribe send an email to