pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kenneth Marshall <ktm@rice.edu>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-admin@postgresql.org, Tom Lane <tgl@sss.pgh.pa.us>
Cc: Jason Testart <jatestart@cs.uwaterloo.ca>
Subject: Re: RPATH issue with libpq on Solaris 8 (gcc)
Date: Mon, 5 Nov 2007 07:20:04 -0600
Message-ID: <20071105132004.GB21553@it.is.rice.edu> (raw)
In-Reply-To: <200711050807.04988.peter_e@gmx.net>
References: <472BFA84.4070707@cs.uwaterloo.ca>
	<472CC832.8040006@cs.uwaterloo.ca>
	<14121.1194118374@sss.pgh.pa.us>
	<200711050807.04988.peter_e@gmx.net>

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



view thread (5+ messages)

Message-ID: <20071105132004.GB21553@it.is.rice.edu>
Permalink:  ../20071105132004.GB21553@it.is.rice.edu/
Also on:    postgresql.org/message-id/20071105132004.GB21553@it.is.rice.edu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: ktm@rice.edu, peter_e@gmx.net, tgl@sss.pgh.pa.us, jatestart@cs.uwaterloo.ca
  Subject: Re: RPATH issue with libpq on Solaris 8 (gcc)
  In-Reply-To: <20071105132004.GB21553@it.is.rice.edu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox