Re: sanitization of args notmuch-cli in notmuch-emacs
[notmuch-archives.git] / b2 / a5f5f7571381d932bacdb5c3a4f1abe7ffe350
1 Return-Path: <mjwilliams@gmail.com>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 8C647429E25\r
6         for <notmuch@notmuchmail.org>; Thu, 27 Oct 2011 18:07:09 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.699\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001,\r
13         RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id cmXFFixAa-k9 for <notmuch@notmuchmail.org>;\r
17         Thu, 27 Oct 2011 18:07:09 -0700 (PDT)\r
18 Received: from mail-yw0-f53.google.com (mail-yw0-f53.google.com\r
19         [209.85.213.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id E9243431FB6\r
22         for <notmuch@notmuchmail.org>; Thu, 27 Oct 2011 18:07:08 -0700 (PDT)\r
23 Received: by ywe9 with SMTP id 9so3030848ywe.26\r
24         for <notmuch@notmuchmail.org>; Thu, 27 Oct 2011 18:07:08 -0700 (PDT)\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
26         h=sender:from:content-type:content-transfer-encoding:subject:date\r
27         :message-id:to:mime-version:x-mailer;\r
28         bh=Q49MdnxyFTKpiwyG1voQ/Sw12LrHhOoPsUBovAfOrsQ=;\r
29         b=x0bVfYEGXgnzlHy7SxZNNglDfAut96lpguBjnLGTkJA/DQ9QTBPbSMCgUjfKAMAyGH\r
30         jVNnXL2xWktFFLl7yfSD3VHCdqjYhrOVutLwOcQSDU3fUsqP/C22kKnlakh+iNqx+5rx\r
31         7YEcmOSIgl38bmzSyByUHJUsTxHlbMVT/Rgn4=\r
32 Received: by 10.150.103.8 with SMTP id a8mr721558ybc.11.1319764028511;\r
33         Thu, 27 Oct 2011 18:07:08 -0700 (PDT)\r
34 Received: from [192.168.3.148] (tqroute.as.utexas.edu. [198.214.229.68])\r
35         by mx.google.com with ESMTPS id g38sm19943387ann.4.2011.10.27.18.07.06\r
36         (version=TLSv1/SSLv3 cipher=OTHER);\r
37         Thu, 27 Oct 2011 18:07:07 -0700 (PDT)\r
38 Sender: Michael Williams <mjwilliams@gmail.com>\r
39 From: Michael Williams <mike@pentangle.net>\r
40 Content-Type: text/plain; charset=us-ascii\r
41 Content-Transfer-Encoding: quoted-printable\r
42 Subject: Installation problem on OS X\r
43 Date: Thu, 27 Oct 2011 20:07:05 -0500\r
44 Message-Id: <EAF3A779-6A01-4B17-92B5-5236970DCECF@pentangle.net>\r
45 To: notmuch@notmuchmail.org\r
46 Mime-Version: 1.0 (Apple Message framework v1084)\r
47 X-Mailer: Apple Mail (2.1084)\r
48 X-BeenThere: notmuch@notmuchmail.org\r
49 X-Mailman-Version: 2.1.13\r
50 Precedence: list\r
51 List-Id: "Use and development of the notmuch mail system."\r
52         <notmuch.notmuchmail.org>\r
53 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
54         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
55 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
56 List-Post: <mailto:notmuch@notmuchmail.org>\r
57 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
58 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
59         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
60 X-List-Received-Date: Fri, 28 Oct 2011 01:07:09 -0000\r
61 \r
62 Hi,\r
63 \r
64 there seems to be a problem with notmuch on OS X when installed to a =\r
65 non-standard location: it's install name is "libnotmuch.*.dylib" rather =\r
66 than something like "$(LIBDIR)/libnotmuch.*.dylib", which prevents the =\r
67 binary from locating the library when things are installed in a =\r
68 nonstandard location. make works, but attempts to run it result in\r
69 \r
70 dyld: Library not loaded: libnotmuch.2.dylib\r
71  Referenced from: /Users/mike/.homebrew/bin/notmuch\r
72  Reason: image not found\r
73 Trace/BPT trap\r
74 \r
75 I ran into this when installing it via the homebrew packaing system into =\r
76 somewhere other than /usr/local. I've fixed it for the time being by =\r
77 doing=20\r
78 \r
79  install_name_tool -change libnotmuch.2.dylib =\r
80 /Users/mike/.homebrew/lib/libnotmuch.2.dylib =\r
81 /Users/mike/.homebrew/bin/notmuch\r
82 \r
83 and in principle I could add a post-install hook to the homebrew formula =\r
84 to do this for other users of homebrew/OS X, but it seems like this is =\r
85 something that would be better fixed upstream. Any thoughts?\r
86 \r
87 A related issue has come up before: =\r
88 http://notmuchmail.org/pipermail/notmuch/2011/004094.html. Here's the =\r
89 discussion of this issue at homebrew: =\r
90 https://github.com/mxcl/homebrew/issues/8284.\r
91 \r
92 Mike=\r