At 16:50 +0300 on 10/08/1999, Colin Bodor wrote:
> I am installing posgresql 6.5.1 on a Ultra 10 sparq 333mhz 256 mg's
> ram and Solaris 5.7
> after compiling postgres I created a user "postgres" and added the proper
> paths in his .profile.
> when I do a initdb it errors on pglib, pgdata, username. if I tell initdb
> all of those it errors on not finding some lib's, I know in linux I can
> add a lib path in /etc/ld.so.conf but what do I do in solaris?
I don't have a problem on our Solaris. The postgres user .bashrc (what kind
of shell are you using, bourne shell?) on my system is:
USER=postgres
PGUSER=postgres
PGLIB=/www/server/pgsql/lib
PGDATA=/www/server/pgsql/data
PATH=/www/server/pgsql/bin:/usr/bin:/usr/local/bin:.
MANPATH=/usr/share/man:/www/server/pgsql/man
export PGLIB PGDATA PGHOST PGPORT PATH USER PGUSER MANPATH
I think you can add shared library path in LD_LIBRARY_PATH, but since that
environment variable isn't set on my postgres account, I would think it is
not needed.
Herouth
--
Herouth Maoz, Internet developer.
Open University of Israel - Telem project
http://telem.openu.ac.il/~herutma