From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2192 invoked by alias); 10 Oct 2006 00:00:27 -0000 Received: (qmail 2182 invoked by uid 22791); 10 Oct 2006 00:00:26 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Tue, 10 Oct 2006 00:00:24 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GX52h-0008JS-Fs; Mon, 09 Oct 2006 20:00:19 -0400 Date: Tue, 10 Oct 2006 00:00:00 -0000 From: Daniel Jacobowitz To: Jan Kratochvil Cc: Kevin Buettner , gdb-patches@sources.redhat.com Subject: Re: [patch] Fixed occasional failure to load a custom shared library Message-ID: <20061010000019.GA31930@nevyn.them.org> Mail-Followup-To: Jan Kratochvil , Kevin Buettner , gdb-patches@sources.redhat.com References: <20060622114016.GA21094@host0.dyn.jankratochvil.net> <20060626180051.0adcce23@ironwood.lan> <20060721183829.GB9150@lace.redhat.com> <20061009201747.GD22848@nevyn.them.org> <20061009225042.GA2481@host0.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061009225042.GA2481@host0.dyn.jankratochvil.net> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-10/txt/msg00087.txt.bz2 On Tue, Oct 10, 2006 at 12:50:42AM +0200, Jan Kratochvil wrote: > If you would use `-Wl,-rpath,$ORIGIN' or relative pathname for $LD_LIBRARY_PATH. > The latter case was testcased in: > http://sourceware.org/ml/gdb-patches/2006-09/msg00009.html In my glibc, setting LD_LIBRARY_PATH to a relative path makes no difference. Things get canonicalized anyway. I also tried with $ORIGIN. I wonder if the Fedora glibc behaves differently in this respect. -- Daniel Jacobowitz CodeSourcery