Re: [bug] Python bindings fail to load shared libraries in MacOS El Capitan
authorDavid Bremner <david@tethera.net>
Thu, 22 Oct 2015 15:32:58 +0000 (12:32 +2100)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:49:51 +0000 (14:49 -0700)
75/31eb55febbba554ba1d1128dc28712189019fd [new file with mode: 0644]

diff --git a/75/31eb55febbba554ba1d1128dc28712189019fd b/75/31eb55febbba554ba1d1128dc28712189019fd
new file mode 100644 (file)
index 0000000..af5ad5f
--- /dev/null
@@ -0,0 +1,70 @@
+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 751926DE163F\r
+ for <notmuch@notmuchmail.org>; Thu, 22 Oct 2015 08:34:04 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.099\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.099 tagged_above=-999 required=5 tests=[AWL=0.099]\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 hG_n22iA4aNc for <notmuch@notmuchmail.org>;\r
+ Thu, 22 Oct 2015 08:34:02 -0700 (PDT)\r
+Received: from gitolite.debian.net (gitolite.debian.net [87.98.215.224])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id E72EC6DE1633\r
+ for <notmuch@notmuchmail.org>; Thu, 22 Oct 2015 08:34:01 -0700 (PDT)\r
+Received: from remotemail by gitolite.debian.net with local (Exim 4.80)\r
+ (envelope-from <david@tethera.net>)\r
+ id 1ZpHrd-00018B-Qr; Thu, 22 Oct 2015 15:33:13 +0000\r
+Received: (nullmailer pid 26342 invoked by uid 1000); Thu, 22 Oct 2015\r
+ 15:32:59 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: Robert =?utf-8?Q?K=C3=BCnnemann?= <robert@kunnemann.de>\r
+Cc: notmuch@notmuchmail.org\r
+Subject: Re: [bug] Python bindings fail to load shared libraries in MacOS El\r
+ Capitan\r
+In-Reply-To: <20151022073829.GE15696@peachum.local>\r
+References: <20151019115321.GA74194@pc-kuennemann.sit.fraunhofer.de>\r
+ <87pp08t5jf.fsf@maritornes.cs.unb.ca> <20151022073829.GE15696@peachum.local>\r
+User-Agent: Notmuch/0.20.2+61~g005c2f0 (http://notmuchmail.org) Emacs/24.4.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Thu, 22 Oct 2015 12:32:58 -0300\r
+Message-ID: <87twpisytx.fsf@tesseract.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: Thu, 22 Oct 2015 15:34:04 -0000\r
+\r
+Robert K=C3=BCnnemann <robert@kunnemann.de> writes:\r
+\r
+>>Also, it seems like you are coding the absolute path name of\r
+>>the library. Is that really necessary?\r
+> It seems so. Two responses in the thread I mentioned\r
+> http://stackoverflow.com/questions/32905322/oserror-dlopenlibsystem-dylib=\r
+-6-image-not-found\r
+> suggest the same, and it solved the issue for me.\r
+\r
+I don't think hard-coding the install location of the library is\r
+something we can do upstream, so it probably needs someone with a Mac to\r
+roll up their sleeves and add something to use the prefix information\r
+from Makefile.config. Hopefully this could also eliminate the current\r
+runtime check for the system type.\r
+\r
+d\r
+\r