Re: Users and multiple server environment

From: Michael Long <mlong(at)datalong(dot)com>
To:
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Users and multiple server environment
Date: 2004-10-03 06:53:47
Message-ID: 415FA1FB.9000306@datalong.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


>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?

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Gaetano Mendola 2004-10-03 11:46:53 Re: PLEASE GOD HELP US!
Previous Message Tom Lane 2004-10-03 06:33:45 Re: Users and multiple server environment