Installation problem on OS X
authorMichael Williams <mike@pentangle.net>
Fri, 28 Oct 2011 01:07:05 +0000 (20:07 +1900)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:39:47 +0000 (09:39 -0800)
b2/a5f5f7571381d932bacdb5c3a4f1abe7ffe350 [new file with mode: 0644]

diff --git a/b2/a5f5f7571381d932bacdb5c3a4f1abe7ffe350 b/b2/a5f5f7571381d932bacdb5c3a4f1abe7ffe350
new file mode 100644 (file)
index 0000000..79912c3
--- /dev/null
@@ -0,0 +1,92 @@
+Return-Path: <mjwilliams@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 8C647429E25\r
+       for <notmuch@notmuchmail.org>; Thu, 27 Oct 2011 18:07:09 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.699\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001,\r
+       RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id cmXFFixAa-k9 for <notmuch@notmuchmail.org>;\r
+       Thu, 27 Oct 2011 18:07:09 -0700 (PDT)\r
+Received: from mail-yw0-f53.google.com (mail-yw0-f53.google.com\r
+       [209.85.213.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id E9243431FB6\r
+       for <notmuch@notmuchmail.org>; Thu, 27 Oct 2011 18:07:08 -0700 (PDT)\r
+Received: by ywe9 with SMTP id 9so3030848ywe.26\r
+       for <notmuch@notmuchmail.org>; Thu, 27 Oct 2011 18:07:08 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
+       h=sender:from:content-type:content-transfer-encoding:subject:date\r
+       :message-id:to:mime-version:x-mailer;\r
+       bh=Q49MdnxyFTKpiwyG1voQ/Sw12LrHhOoPsUBovAfOrsQ=;\r
+       b=x0bVfYEGXgnzlHy7SxZNNglDfAut96lpguBjnLGTkJA/DQ9QTBPbSMCgUjfKAMAyGH\r
+       jVNnXL2xWktFFLl7yfSD3VHCdqjYhrOVutLwOcQSDU3fUsqP/C22kKnlakh+iNqx+5rx\r
+       7YEcmOSIgl38bmzSyByUHJUsTxHlbMVT/Rgn4=\r
+Received: by 10.150.103.8 with SMTP id a8mr721558ybc.11.1319764028511;\r
+       Thu, 27 Oct 2011 18:07:08 -0700 (PDT)\r
+Received: from [192.168.3.148] (tqroute.as.utexas.edu. [198.214.229.68])\r
+       by mx.google.com with ESMTPS id g38sm19943387ann.4.2011.10.27.18.07.06\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Thu, 27 Oct 2011 18:07:07 -0700 (PDT)\r
+Sender: Michael Williams <mjwilliams@gmail.com>\r
+From: Michael Williams <mike@pentangle.net>\r
+Content-Type: text/plain; charset=us-ascii\r
+Content-Transfer-Encoding: quoted-printable\r
+Subject: Installation problem on OS X\r
+Date: Thu, 27 Oct 2011 20:07:05 -0500\r
+Message-Id: <EAF3A779-6A01-4B17-92B5-5236970DCECF@pentangle.net>\r
+To: notmuch@notmuchmail.org\r
+Mime-Version: 1.0 (Apple Message framework v1084)\r
+X-Mailer: Apple Mail (2.1084)\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Fri, 28 Oct 2011 01:07:09 -0000\r
+\r
+Hi,\r
+\r
+there seems to be a problem with notmuch on OS X when installed to a =\r
+non-standard location: it's install name is "libnotmuch.*.dylib" rather =\r
+than something like "$(LIBDIR)/libnotmuch.*.dylib", which prevents the =\r
+binary from locating the library when things are installed in a =\r
+nonstandard location. make works, but attempts to run it result in\r
+\r
+dyld: Library not loaded: libnotmuch.2.dylib\r
+ Referenced from: /Users/mike/.homebrew/bin/notmuch\r
+ Reason: image not found\r
+Trace/BPT trap\r
+\r
+I ran into this when installing it via the homebrew packaing system into =\r
+somewhere other than /usr/local. I've fixed it for the time being by =\r
+doing=20\r
+\r
+ install_name_tool -change libnotmuch.2.dylib =\r
+/Users/mike/.homebrew/lib/libnotmuch.2.dylib =\r
+/Users/mike/.homebrew/bin/notmuch\r
+\r
+and in principle I could add a post-install hook to the homebrew formula =\r
+to do this for other users of homebrew/OS X, but it seems like this is =\r
+something that would be better fixed upstream. Any thoughts?\r
+\r
+A related issue has come up before: =\r
+http://notmuchmail.org/pipermail/notmuch/2011/004094.html. Here's the =\r
+discussion of this issue at homebrew: =\r
+https://github.com/mxcl/homebrew/issues/8284.\r
+\r
+Mike=\r