--- /dev/null
+Return-Path: <robert@kunnemann.de>\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 C5EC16DE0B4F\r
+ for <notmuch@notmuchmail.org>; Thu, 22 Oct 2015 00:38:35 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.004\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.004 tagged_above=-999 required=5 tests=[AWL=0.004, \r
+ RCVD_IN_DNSWL_NONE=-0.0001] 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 TtZArIh9Y-hq for <notmuch@notmuchmail.org>;\r
+ Thu, 22 Oct 2015 00:38:33 -0700 (PDT)\r
+Received: from wp251.webpack.hosteurope.de (wp251.webpack.hosteurope.de\r
+ [80.237.133.20])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id D4DB66DE0B4B\r
+ for <notmuch@notmuchmail.org>; Thu, 22 Oct 2015 00:38:32 -0700 (PDT)\r
+Received: from sito2_224.sit.fraunhofer.de ([141.12.67.224] helo=localhost);\r
+ authenticated\r
+ by wp251.webpack.hosteurope.de running ExIM with esmtpsa\r
+ (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)\r
+ id 1ZpASB-0001Dw-3q; Thu, 22 Oct 2015 09:38:27 +0200\r
+Date: Thu, 22 Oct 2015 09:38:29 +0200\r
+From: Robert =?iso-8859-1?Q?K=FCnnemann?= <robert@kunnemann.de>\r
+To: David Bremner <david@tethera.net>\r
+Cc: notmuch@notmuchmail.org\r
+Subject: Re: [bug] Python bindings fail to load shared libraries in MacOS El\r
+ Capitan\r
+Message-ID: <20151022073829.GE15696@peachum.local>\r
+References: <20151019115321.GA74194@pc-kuennemann.sit.fraunhofer.de>\r
+ <87pp08t5jf.fsf@maritornes.cs.unb.ca>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=iso-8859-1; format=flowed\r
+Content-Disposition: inline\r
+Content-Transfer-Encoding: 8bit\r
+In-Reply-To: <87pp08t5jf.fsf@maritornes.cs.unb.ca>\r
+User-Agent: Mutt/1.5.23.1 (2014-03-12)\r
+X-bounce-key: webpack.hosteurope.de;robert@kunnemann.de;1445499512;9cdd8bb9;\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 07:38:35 -0000\r
+\r
+Hi!\r
+\r
+On 21/10, David Bremner wrote:\r
+>Robert Künnemann <robert@kunnemann.de> writes:\r
+>>\r
+>> nmlib = CDLL("libnotmuch.so.{0:s}".format(SOVERSION))\r
+>>\r
+>> in globals.py\r
+>>\r
+>> nmlib = 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?\r
+It is working and adds the suffix ".dylyb" to the library name.\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-6-image-not-found\r
+suggest the same, and it solved the issue for me.\r
+\r
+I am happy to try out other, better solutions.\r
+\r
+Cheers, Robert\r