Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 406379F959C for ; Mon, 5 Nov 2007 09:20:19 -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 64478-08-2 for ; Mon, 5 Nov 2007 09:20:09 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from is.rice.edu (is.rice.edu [128.42.42.24]) by postgresql.org (Postfix) with ESMTP id D21B09F97FC for ; Mon, 5 Nov 2007 09:20:09 -0400 (AST) Received: from scan1.mail.rice.edu (scan1.mail.rice.edu [128.42.58.160]) by is.rice.edu (Postfix) with ESMTP id 9152141876; Mon, 5 Nov 2007 07:20:05 -0600 (CST) Received: from is.rice.edu ([128.42.42.24]) by scan1.mail.rice.edu (scan1.mail.rice.edu [128.42.58.160]) (amavisd-new, port 10024) with ESMTP id 05547-05; Mon, 5 Nov 2007 07:20:04 -0600 (CST) Received: by is.rice.edu (Postfix, from userid 18612) id D7A074182B; Mon, 5 Nov 2007 07:20:04 -0600 (CST) Date: Mon, 5 Nov 2007 07:20:04 -0600 From: Kenneth Marshall To: Peter Eisentraut Cc: pgsql-admin@postgresql.org, Tom Lane , Jason Testart Subject: Re: RPATH issue with libpq on Solaris 8 (gcc) Message-ID: <20071105132004.GB21553@it.is.rice.edu> References: <472BFA84.4070707@cs.uwaterloo.ca> <472CC832.8040006@cs.uwaterloo.ca> <14121.1194118374@sss.pgh.pa.us> <200711050807.04988.peter_e@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200711050807.04988.peter_e@gmx.net> User-Agent: Mutt/1.5.16 (2007-06-09) X-Virus-Scanned: by amavis-2.2.1 at scan1.mail.rice.edu X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200711/49 X-Sequence-Number: 27292 On Mon, Nov 05, 2007 at 08:07:04AM +0100, Peter Eisentraut wrote: > 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/ > We use LD_RUN_PATH in our Solaris builds for that reason. Ken