Re: pgsql setup - Mailing list pgsql-novice

From Carsten Huettl
Subject Re: pgsql setup
Date
Msg-id 337CE6846367@ahorn.sgh.uunet.de
Whole thread Raw
In response to Re: pgsql setup  (Jacques Williams <jacques@jacqro.COM>)
Responses Re: pgsql setup  (ghaverla@freenet.edmonton.ab.ca)
Re: pgsql setup  ("Anthony E . Greene" <agreene@pobox.com>)
List pgsql-novice
Hello Jacque,

> Try adding these to your environment:
>
> LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/pgsql/lib
> PGLIB=/usr/lib/pgsql/lib
>
> initdb is having trouble finding the library files.

I am new to linux and pgsql too.
How do I add this to my enviroment using bash?
Simply:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/pgsql/lib
PGLIB=/usr/lib/pgsql/lib
export  LD_LIBRARY_PATH
export PGLIB
?

echo $PG_LIBRARY_PATH
is empty

Do I have to do this as root or postgres?

tia
C.




--
Carsten Huettl - <http://www.ahorn-Net.de>
pgp-key on request

pgsql-novice by date:

Previous
From: Jerome Raupach
Date:
Subject: copy with libpq?
Next
From: "Luis Tito de Morais"
Date:
Subject: Upgrade in the wrong way