initdb error

Поиск
Список
Период
Сортировка
От kenford@infomak.com
Тема initdb error
Дата
Msg-id 3.0.32.20001225134501.00922100@infomak.com
обсуждение исходный текст
Ответы Re: initdb error
Список 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.

В списке pgsql-general по дате отправления: