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 0F666431FD0 for ; Thu, 13 Oct 2011 00:42:39 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.001 X-Spam-Level: X-Spam-Status: No, score=0.001 tagged_above=-999 required=5 tests=[FREEMAIL_FROM=0.001] autolearn=disabled 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 lgq6nGArGrJ9 for ; Thu, 13 Oct 2011 00:42:38 -0700 (PDT) Received: from mail.cryptobitch.de (cryptobitch.de [88.198.7.68]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 7B2D5431FB6 for ; Thu, 13 Oct 2011 00:42:38 -0700 (PDT) Received: from mail.jade-hamburg.de (unknown [85.183.11.228]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cryptobitch.de (Postfix) with ESMTPSA id 3317E4C6EAD; Thu, 13 Oct 2011 09:42:37 +0200 (CEST) Received: by mail.jade-hamburg.de (Postfix, from userid 33) id A4295DF29F; Thu, 13 Oct 2011 09:42:36 +0200 (CEST) To: Jameson Graef Rollins Subject: Re: [python] set rpath in setup.cfg X-PHP-Originating-Script: 0:func.inc MIME-Version: 1.0 Date: Thu, 13 Oct 2011 09:42:36 +0200 From: dtk In-Reply-To: <87pqi1s8ln.fsf@servo.finestructure.net> References: <6d84224ab757d84968df4db3a7b00fcb@jadE-Hamburg.de> <20111012153051.GE21615@hayalet> <87pqi1s8ln.fsf@servo.finestructure.net> Message-ID: <3ae4dc21c9b028b86836b45d778fd4f9@jadE-Hamburg.de> X-Sender: dtk@gmx.de User-Agent: RoundCube Webmail/0.3.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Cc: notmuch@notmuchmail.org 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: Thu, 13 Oct 2011 07:42:39 -0000 On Wed, 12 Oct 2011 23:34:28 -0700, Jameson Graef Rollins wrote: > On Thu, 13 Oct 2011 08:12:03 +0200, dtk wrote: >> in my experience, it tends to cause awkward side effects that are hard to >> debug, the main problem being that it overrides all default paths and is >> hard to target at a single problematic application. > > I think it's fairly straightforward to prepend a library path to the ld > library path without overriding all defaults with something like this > (for bash): > > LD_LIBRARY_PATH=/new/ld/path:$LD_LIBRARY_PATH In fact the problem is not not to override default LD_LIBRARY_PATH settings (which /really/ should be empty!) but that LD_LIBRARY_PATH overrides rpath and default system paths. tx anyway dtk