unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: Reto <reto@labrat.space>, Peter Lawrence <peter@peterlawrence.org>
Cc: notmuch@notmuchmail.org
Subject: Re: macOS and go language bindings
Date: Sun, 26 Nov 2023 09:29:49 -0400	[thread overview]
Message-ID: <87fs0s3anm.fsf@tethera.net> (raw)
In-Reply-To: <z4ccamugmimacuyffmpxkxoodql2ao56plch4djn5qvvbmrwbs@l4y6a7fyibsy>

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

      reply	other threads:[~2023-11-26 13:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-20  1:51 macOS and go language bindings Peter Lawrence
2023-11-21 19:19 ` Carl Worth
2023-11-21 21:00   ` Peter Lawrence
2023-11-21 21:38     ` Carl Worth
2023-11-26 13:11     ` Reto
2023-11-26 13:29       ` David Bremner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fs0s3anm.fsf@tethera.net \
    --to=david@tethera.net \
    --cc=notmuch@notmuchmail.org \
    --cc=peter@peterlawrence.org \
    --cc=reto@labrat.space \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).