From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15578 invoked by alias); 3 Mar 2010 17:46:19 -0000 Received: (qmail 15562 invoked by uid 22791); 3 Mar 2010 17:46:18 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from smtp-outbound-1.vmware.com (HELO smtp-outbound-1.vmware.com) (65.115.85.69) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 03 Mar 2010 17:46:14 +0000 Received: from mailhost4.vmware.com (mailhost4.vmware.com [10.16.67.124]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 8F5A513142; Wed, 3 Mar 2010 09:46:12 -0800 (PST) Received: from [10.20.125.19] (unknown [10.20.125.19]) by mailhost4.vmware.com (Postfix) with ESMTP id 86075C9A1B; Wed, 3 Mar 2010 09:46:12 -0800 (PST) Message-ID: <4B8EA064.9010601@vmware.com> Date: Wed, 03 Mar 2010 17:46:00 -0000 From: Michael Snyder User-Agent: Thunderbird 2.0.0.22 (X11/20090609) MIME-Version: 1.0 To: Jan Kratochvil , Joel Brobecker , Michael Snyder , "gdb@sourceware.org" Subject: Re: python config question References: <4B8C5DD4.1070501@vmware.com> <20100302052219.GF2850@adacore.com> <4B8D54E1.7030003@vmware.com> <20100303045039.GB15364@adacore.com> <20100303092047.GA24396@host0.dyn.jankratochvil.net> <20100303152913.GA18518@caradoc.them.org> In-Reply-To: <20100303152913.GA18518@caradoc.them.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-03/txt/msg00017.txt.bz2 Daniel Jacobowitz wrote: > On Wed, Mar 03, 2010 at 10:20:47AM +0100, Jan Kratochvil wrote: >> IIUC you ship libpython*.so.* libraries bundled with the shipped gdb. >> Isn't ld.so's $ORIGIN useful? >> >> $ORIGIN and rpath > > FYI, this is how we do it, and part of why I don't think automatic > -rpath is a good idea. You're saying that you ship the python library, install it in the same directory as gdb, and get the runtime loader to look for it there?