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