Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 6841D431FD0 for ; Tue, 25 Oct 2011 19:23:31 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.699 X-Spam-Level: X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pCUhQRrRA7ku for ; Tue, 25 Oct 2011 19:23:29 -0700 (PDT) Received: from mail-yw0-f53.google.com (mail-yw0-f53.google.com [209.85.213.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 202FE431FB6 for ; Tue, 25 Oct 2011 19:23:29 -0700 (PDT) Received: by ywe9 with SMTP id 9so311809ywe.26 for ; Tue, 25 Oct 2011 19:23:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:from:content-type:content-transfer-encoding:subject:date :message-id:to:mime-version:x-mailer; bh=d3FGy/hEasBFRJ2UmzTtP9RkfUISIWHDx+geiNJPWlE=; b=yFyG4f0g6uNE3IkSDNl7m3/zPx52dmuVxXsorb6clmi6hIaLwBh3ng56M8jSi9ICs0 EXRq43813PjW2AaEGPWfFpHz5bMrDvs6h+n1SYQ9TkIcF5zM/oIP9IeMWbHNmGA1/NnA 2K2HCvUnFykF1pau6kjd/y0pNjJusHc0PKUGE= Received: by 10.236.193.70 with SMTP id j46mr7939711yhn.108.1319595807645; Tue, 25 Oct 2011 19:23:27 -0700 (PDT) Received: from mcddhcp21.as.utexas.edu (mcddhcp21.as.utexas.edu. [198.214.229.220]) by mx.google.com with ESMTPS id j25sm426595yhm.12.2011.10.25.19.23.26 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 25 Oct 2011 19:23:27 -0700 (PDT) Sender: Michael Williams From: Michael Williams Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Installation problem on OS X Message-Id: <376B5F65-1B60-4FC2-9FE3-73685E7FE123@pentangle.net> To: notmuch@notmuchmail.org Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) X-Mailman-Approved-At: Tue, 22 Nov 2011 08:49:56 -0800 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Wed, 26 Oct 2011 02:23:31 -0000 X-Original-Date: Tue, 25 Oct 2011 21:23:25 -0500 X-List-Received-Date: Wed, 26 Oct 2011 02:23:31 -0000 Hi, there seems to be a problem with notmuch on OS X when installed to a = non-standard location: it's install name is "libnotmuch.*.dylib" rather = than something like "$(LIBDIR)/libnotmuch.*.dylib", which prevents the = binary from locating the library when things are installed in a = nonstandard location. make works, but attempts to run it result in dyld: Library not loaded: libnotmuch.2.dylib Referenced from: /Users/mike/.homebrew/bin/notmuch Reason: image not found Trace/BPT trap I ran into this when installing it via the homebrew packaing system into = somewhere other than /usr/local. I've fixed it for the time being by = doing=20 install_name_tool -change libnotmuch.2.dylib = /Users/mike/.homebrew/lib/libnotmuch.2.dylib = /Users/mike/.homebrew/bin/notmuch and in principle I could add a post-install hook to the homebrew formula = to do this for other users of homebrew/OS X, but it seems like this is = something that would be better fixed upstream. Any thoughts? A related issue has come up before: = http://notmuchmail.org/pipermail/notmuch/2011/004094.html. Here's the = discussion of this issue at homebrew: = https://github.com/mxcl/homebrew/issues/8284. I am not on the mailing = list so please CC me on replies. Mike=