From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id DA8BC4196F2 for ; Sat, 3 Apr 2010 14:42:07 -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 lFI2yuJn7ame for ; Sat, 3 Apr 2010 14:42:06 -0700 (PDT) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by olra.theworths.org (Postfix) with ESMTP id DE9674196F0 for ; Sat, 3 Apr 2010 14:42:06 -0700 (PDT) Received: from ben.nabble.com ([192.168.236.152]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NyB6U-0000Ug-5n for notmuch@notmuchmail.org; Sat, 03 Apr 2010 14:42:06 -0700 Date: Sat, 3 Apr 2010 13:42:06 -0800 (PST) From: =?UTF-8?Q?C=C3=A9dric_Cabessa?= To: notmuch@notmuchmail.org Message-ID: <1270330926173-695408.post@n3.nabble.com> In-Reply-To: <87k4t4effn.fsf@SSpaeth.de> References: <87k4t4effn.fsf@SSpaeth.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: 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: Sat, 03 Apr 2010 21:42:08 -0000 spaetz wrote: >=20 > It needs to have a libnotmuch.so or libnotmuch.so.1 available in some > library folder or will raise an exception when loading. > "OSError: libnotmuch.so.1: cannot open shared object file: No such file o= r > directory" >=20 libnotmuch.so is in my personal folder, I'd like to use LD_LIBRARY_PATH for that. The problem is that find_library does not read this variable, but hopefully CDLL does. I suggest to not use find_library. If the library do not exist, we just hav= e to catch the exception. The other advantage is that CDLL allow us to choose a library version (find_library will always take the latest). Here is a patch http://n3.nabble.com/file/n695408/ld_library_path.patch ld_library_path.patch=20 --=20 C=C3=A9dric --=20 View this message in context: http://n3.nabble.com/cnotmuch-0-1-1-release-t= p466611p695408.html Sent from the notmuch mailing list archive at Nabble.com.