Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 09D599F9872 for ; Mon, 5 Nov 2007 03:07:10 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 56879-01 for ; Mon, 5 Nov 2007 03:07:09 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from gauss.credativ.com (gauss.credativ.com [212.112.227.254]) by postgresql.org (Postfix) with ESMTP id 641D89F9871 for ; Mon, 5 Nov 2007 03:07:08 -0400 (AST) Received: from hawking.credativ.lan (exit.credativ.com [87.139.82.80]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gauss.credativ.com (Postfix) with ESMTP id 6BEAC78550; Mon, 5 Nov 2007 08:07:06 +0100 (CET) From: Peter Eisentraut To: pgsql-admin@postgresql.org Subject: Re: RPATH issue with libpq on Solaris 8 (gcc) Date: Mon, 5 Nov 2007 08:07:04 +0100 User-Agent: KMail/1.9.7 Cc: Tom Lane , Jason Testart References: <472BFA84.4070707@cs.uwaterloo.ca> <472CC832.8040006@cs.uwaterloo.ca> <14121.1194118374@sss.pgh.pa.us> In-Reply-To: <14121.1194118374@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200711050807.04988.peter_e@gmx.net> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200711/46 X-Sequence-Number: 27289 Am Samstag, 3. November 2007 schrieb Tom Lane: > > That also seems to have the positive effect of getting libpq.so to find > > the shared objects that it depends on. So is the fact that I need to > > edit src/Makefile.global after I run configure mean that I found a bug? > > ;-) > > Seems more like a feature request: there should be a way to override > rpathdir from a configure switch. We already have an enable-rpath > switch, but it's just a boolean. Maybe allow > configure --enable-rpath=PATH > ? Well, the rpath option affects the rpath to our own libraries. To find the system libraries, the environment variable LD_RUN_PATH can be used. Otherwise you'd have to convince every software product in existence to add the appropriate configuration options. -- Peter Eisentraut http://developer.postgresql.org/~petere/