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