initdb error

From: kenford(at)infomak(dot)com
To: pgsql-general(at)postgresql(dot)org
Subject: initdb error
Date: 2000-12-25 18:45:03
Message-ID: 3.0.32.20001225134501.00922100@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
-------
# ./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

# LD_RUN_PATH=/usr/local/pgsql/lib;export LD_RUN_PATH

# gmake install
# mkdir /Data/PgSQL
# chown postgres /Data/PgSQL
# su postgres
$ ./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 Peter Eisentraut 2000-12-25 22:40:18 Re: initdb error
Previous Message Tom Lane 2000-12-25 17:45:30 Re: multi-byte support