pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Long <mlong@datalong.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Users and multiple server environment
Date: Sun, 03 Oct 2004 02:53:47 -0400
Message-ID: <415FA1FB.9000306@datalong.com> (raw)
In-Reply-To: <29421.1096785225@sss.pgh.pa.us>
References: <415F87D7.5000800@datalong.com>
	<28880.1096780739@sss.pgh.pa.us>
	<415F8EC5.9040504@datalong.com>
	<415F9A9F.6090500@datalong.com>
	<29421.1096785225@sss.pgh.pa.us>


>This looks like a 7.4 psql trying to use a pre-7.4 libpq.so.  You need
>to take a close look at where you've installed the different libpq
>generations and how this matches up to the ldconfig search path.
>
>Personally I like to use rpath-style link specifications to ensure that
>a particular psql generation will hook to the corresponding libpq
>generation, regardless of any system-wide ldconfig settings.  There are
>other ways to do it, but the default Linux mechanism doesn't work very
>well for this :-(
>
>  
>
This is where I am getting into areas I don't really understand. I 
believe I have 7.3.2 installed along with 8.0b3.

/usr/bin/psql -V
psql (PostgreSQL) 7.3.2

/usr/local/pgsql_8.0b3/bin/psql -V
psql (PostgreSQL) 8.0.0beta3

The when configuring 8.0b3 I thought that I had specified to use the 
rpath style link, although now that I look at the string again, maybe not :)

./configure --prefix=/usr/local/pgsql_8.0b3 --disable-rpath 
--with-pgport=5480 --with-perl --with-python --with-tcl 
--enable-thread-safety --enable-debug --enable-cassert --enable-depend 
--with-libraries=/lib:/usr/local/lib/python2.3/lib-dynload

How do I go about sorting this out? If I rerun the istall without the 
--disable-rpath switch will this help?





view thread (13+ messages)  latest in thread

Message-ID: <415FA1FB.9000306@datalong.com>
Permalink:  ../415FA1FB.9000306@datalong.com/
Also on:    postgresql.org/message-id/415FA1FB.9000306@datalong.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mlong@datalong.com
  Subject: Re: Users and multiple server environment
  In-Reply-To: <415FA1FB.9000306@datalong.com>
  References: <415F87D7.5000800@datalong.com> <28880.1096780739@sss.pgh.pa.us> <415F8EC5.9040504@datalong.com> <415F9A9F.6090500@datalong.com> <29421.1096785225@sss.pgh.pa.us> <415FA1FB.9000306@datalong.com>

* 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