Solaris 8 Sparc initdb error

From: kenford(at)infomak(dot)com
To: pgsql-general(at)postgresql(dot)org
Subject: Solaris 8 Sparc initdb error
Date: 2000-12-26 19:14:13
Message-ID: 3.0.32.20001226141411.009e52b0@infomak.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


As anyone encounter this error I'm
having.

Solaris 8 Sparc
postgresql-7.0.3.tar.gz

create postgres user account

As root
-------
# LD_RUN_PATH=/usr/local/pgsql/lib;export LD_RUN_PATH
# LD_LIBRARY_PATH=/usr/local/pgsql/lib;export LD_LIBRARY_PATH

# ./confogure --prefix=/usr/local/pgsql \
--datadir=/Data/PgSQL

edit src/include/config.h
replace /* #undef STDC_HEADERS */
with #define STDC_HEADERS 1
because of gmake error.

# gmake
# gmake install
# mkdir /Data/PgSQL
# chown postgres /Data/PgSQL
# su postgres
$ /usr/local/pgsql/bin/initdb -D /Data/PgSQL
ld.so.1: ./pg_id: fatal: libncurses.so.4: open failed: No such file or
directory
Could not determine current user name. You are really hosed.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2000-12-26 19:49:44 Re: Solaris 8 Sparc initdb error
Previous Message Dan Wilson 2000-12-26 18:25:29 Re: User Privileges