Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group