Re: [bug] Python bindings fail to load shared libraries in MacOS El Capitan
authorDavid Bremner <david@tethera.net>
Wed, 21 Oct 2015 18:55:48 +0000 (15:55 +2100)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:49:51 +0000 (14:49 -0700)
5d/4ff84597c94976e833b682a9c1d7b2f4f2fe84 [new file with mode: 0644]

diff --git a/5d/4ff84597c94976e833b682a9c1d7b2f4f2fe84 b/5d/4ff84597c94976e833b682a9c1d7b2f4f2fe84
new file mode 100644 (file)
index 0000000..8ee4dfd
--- /dev/null
@@ -0,0 +1,67 @@
+Return-Path: <david@tethera.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 549626DE13EA\r
+ for <notmuch@notmuchmail.org>; Wed, 21 Oct 2015 11:56:50 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.1\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.1 tagged_above=-999 required=5 tests=[AWL=0.100]\r
+ autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id 4M0pKjxm6LSc for <notmuch@notmuchmail.org>;\r
+ Wed, 21 Oct 2015 11:56:47 -0700 (PDT)\r
+Received: from gitolite.debian.net (gitolite.debian.net [87.98.215.224])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id ADA1C6DE13A3\r
+ for <notmuch@notmuchmail.org>; Wed, 21 Oct 2015 11:56:47 -0700 (PDT)\r
+Received: from remotemail by gitolite.debian.net with local (Exim 4.80)\r
+ (envelope-from <david@tethera.net>)\r
+ id 1ZoyYK-00063p-3U; Wed, 21 Oct 2015 18:56:00 +0000\r
+Received: (nullmailer pid 29548 invoked by uid 1000); Wed, 21 Oct 2015\r
+ 18:55:49 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: Robert =?utf-8?Q?K=C3=BCnnemann?= <robert@kunnemann.de>,\r
+ notmuch@notmuchmail.org\r
+Subject: Re: [bug] Python bindings fail to load shared libraries in MacOS El\r
+ Capitan\r
+In-Reply-To: <20151019115321.GA74194@pc-kuennemann.sit.fraunhofer.de>\r
+References: <20151019115321.GA74194@pc-kuennemann.sit.fraunhofer.de>\r
+User-Agent: Notmuch/0.20.2+73~gd432116 (http://notmuchmail.org) Emacs/24.5.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Wed, 21 Oct 2015 15:55:48 -0300\r
+Message-ID: <87pp08t5jf.fsf@maritornes.cs.unb.ca>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=utf-8\r
+Content-Transfer-Encoding: quoted-printable\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\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: Wed, 21 Oct 2015 18:56:50 -0000\r
+\r
+Robert K=C3=BCnnemann <robert@kunnemann.de> writes:\r
+>\r
+> nmlib =3D CDLL("libnotmuch.so.{0:s}".format(SOVERSION))\r
+>\r
+> in globals.py\r
+>\r
+> nmlib =3D CDLL("/usr/local/lib/libnotmuch.{0:s}.dylib".format(SOVERSION))\r
+\r
+In recent versions of notmuch there's already code there to detect MacOS\r
+and do something different. Are you saying that detection is not\r
+working? Also, it seems like you are coding the absolute path name of\r
+the library. Is that really necessary?\r
+\r
+d\r
+\r