Re: [python] set rpath in setup.cfg

Subject: Re: [python] set rpath in setup.cfg

Date: Thu, 13 Oct 2011 09:42:36 +0200

To: Jameson Graef Rollins

Cc: notmuch@notmuchmail.org

From: dtk


On Wed, 12 Oct 2011 23:34:28 -0700, Jameson Graef Rollins
<jrollins@finestructure.net> wrote:
> On Thu, 13 Oct 2011 08:12:03 +0200, dtk <dtk@gmx.de> 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

Thread: