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