Re: Connecting and creating db

From: Michael Wood <esiotrot(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: sandy(at)keathleywebs(dot)com, pgsql-novice(at)postgresql(dot)org
Subject: Re: Connecting and creating db
Date: 2011-04-21 08:30:32
Message-ID: BANLkTimH+m2u4V4TTgfZTQUiCm0HL-PKjQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On 21 April 2011 02:43, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> "Sandy Keathley" <sandy(at)keathleywebs(dot)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(at)gmail(dot)com>

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Susanne Ebrecht 2011-04-21 11:49:11 Re: Choosing character set for database
Previous Message Sandy Keathley 2011-04-21 02:18:22 Re: Connecting and creating db