Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id B8C094196F2 for ; Sun, 4 Apr 2010 17:59:57 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.8 X-Spam-Level: X-Spam-Status: No, score=0.8 tagged_above=-999 required=5 tests=[BAYES_50=0.8] autolearn=ham Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KUiV3Iq3bbtk for ; Sun, 4 Apr 2010 17:59:56 -0700 (PDT) Received: from homiemail-a22.g.dreamhost.com (caiajhbdcaib.dreamhost.com [208.97.132.81]) by olra.theworths.org (Postfix) with ESMTP id D80914196F0 for ; Sun, 4 Apr 2010 17:59:56 -0700 (PDT) Received: from sspaeth.de (unknown [195.190.188.219]) by homiemail-a22.g.dreamhost.com (Postfix) with ESMTPA id A060F1A805F; Sun, 4 Apr 2010 17:59:54 -0700 (PDT) Received: by sspaeth.de (sSMTP sendmail emulation); Mon, 05 Apr 2010 02:59:51 +0200 From: "Sebastian Spaeth" To: =?iso-8859-1?q?C=E9dric?= Cabessa , notmuch@notmuchmail.org In-Reply-To: <1270330926173-695408.post@n3.nabble.com> References: <87k4t4effn.fsf@SSpaeth.de> <1270330926173-695408.post@n3.nabble.com> Date: Mon, 05 Apr 2010 02:59:51 +0200 Message-ID: <87hbnqpvco.fsf@SSpaeth.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [notmuch] cnotmuch 0.1.1 release X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 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: Mon, 05 Apr 2010 00:59:57 -0000 On 2010-04-03, C=C3=A9dric Cabessa wrote: > libnotmuch.so is in my personal folder, I'd like to use LD_LIBRARY_PATH f= or > that. > The problem is that find_library does not read this variable, but hopeful= ly > CDLL does. >=20 > I suggest to not use find_library. If the library do not exist, we just h= ave > to catch the exception. > The other advantage is that CDLL allow us to choose a library version > (find_library will always take the latest). Sounds reasonable enough. When I coded this, there was no official library version yet, so searching for the latest sounded useful enough. Now that we have an official shared lib, I'm just going to apply your patch. Thanks, hope it is useful Sebastian