Re: macOS and go language bindings

Subject: Re: macOS and go language bindings

Date: Sun, 26 Nov 2023 09:29:49 -0400

To: Reto, Peter Lawrence

Cc: notmuch@notmuchmail.org

From: David Bremner


Reto <reto@labrat.space> writes:

[thanks for the explanation of how aerc uses notmuch]

>
> Go will execute a C compiler / linker as usual.
> In your case, you basically need to setup 2 things:
>
> 	1) notmuch.h in some include dir, normally /usr/include/notmuch.h or some such,
> 	which is needed by the compiler.
>
> 	2) libnotmuch.so, which is normally located at /usr/lib/libnotmuch.so or some such,
> 	which is needed by the linker.
>
> I have no clue where brew stores those things, shouldn't be too hard to figure out though.

macOS has a different naming scheme for shared libraries (and maybe they
are not ELF?). Notmuch should install libnotmuch.NN.dylib (where NN is
currently 5) and libnotmuch.dylib somewhere (given ./configure
--prefix=somewhere)

I hope this helps, even if it is second hand information.

d
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: