Re: Connecting and creating db - Mailing list pgsql-novice

From Michael Wood
Subject Re: Connecting and creating db
Date
Msg-id BANLkTimH+m2u4V4TTgfZTQUiCm0HL-PKjQ@mail.gmail.com
Whole thread Raw
In response to Re: Connecting and creating db  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-novice
On 21 April 2011 02:43, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> "Sandy Keathley" <sandy@keathleywebs.com> writes:
[...]
>> 1. logged in as user "postgres", I cannot connect to the database server without first issuing
>> (every time) the command: export LD_LIBRARY_PATH="/usr/pgsql/lib"
>> This is annoying.
>
> Sounds like the RPM author neglected to see to updating the ldconfig
> data.  If the RPM stuck a file in /etc/ld.so.conf.d pointing to
> /usr/pgsql/lib, you should just be able to run /sbin/ldconfig (as root)
> and be good --- otherwise consider doing that manually.
[...]

Did RHEL 4 support /etc/ld.so.conf.d?  He might need to put it in
/etc/ld.so.conf.

Sandy, if there's no /etc/ld.so.conf.d directory on the machine, just
add /usr/pgsql/lib to /etc/ld.so.conf and then run /sbin/ldconfig as
mentioned by Tom.

--
Michael Wood <esiotrot@gmail.com>

pgsql-novice by date:

Previous
From: "Sandy Keathley"
Date:
Subject: Re: Connecting and creating db
Next
From: Susanne Ebrecht
Date:
Subject: Re: Choosing character set for database