From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26266 invoked by alias); 3 Mar 2010 04:51:11 -0000 Received: (qmail 26253 invoked by uid 22791); 3 Mar 2010 04:51:09 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 03 Mar 2010 04:50:48 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 389B72BAB99; Tue, 2 Mar 2010 23:50:47 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id zVmGR4bqVQbQ; Tue, 2 Mar 2010 23:50:47 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 9F1122BAB96; Tue, 2 Mar 2010 23:50:46 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id EEB17F5917; Wed, 3 Mar 2010 08:50:39 +0400 (RET) Date: Wed, 03 Mar 2010 04:51:00 -0000 From: Joel Brobecker To: Michael Snyder Cc: "gdb@sourceware.org" Subject: Re: python config question Message-ID: <20100303045039.GB15364@adacore.com> References: <4B8C5DD4.1070501@vmware.com> <20100302052219.GF2850@adacore.com> <4B8D54E1.7030003@vmware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B8D54E1.7030003@vmware.com> User-Agent: Mutt/1.5.20 (2009-06-14) 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/msg00004.txt.bz2 > Maybe the configure option should include rpath? It could. We're touching at something that is very platform-dependent, though - perhaps you want to look at using libtool (although I'll admit to a severe aversion to this tool, probably unjustified). If I were in your position, I might consider linking statically against libpython. At AdaCore, the plan is to use LD_LIBRARY_PATH, which we'll have to do, since customers are free to install the binary package wherever they want (hence preventing rpath from working). -- Joel