Обсуждение: Installing on Sun machine

Поиск
Список
Период
Сортировка

Installing on Sun machine

От
Adam Witney
Дата:
Hi, I am trying to get 7.3.1 running on my Sun server. It all seemed to
install ok, but when running initdb I get this appearing

bash-2.03$ /usr/local/pgsql7.3.1/bin/initdb -D /usr/local/pgsql7.3.1/data/
The program
    '/usr/local/pgsql7.3.1/bin/postgres'
needed by initdb does not belong to PostgreSQL version 7.3.1, or
there may be a configuration problem.

This was the error message issued by that program:
ld.so.1: /usr/local/pgsql7.3.1/bin/postgres: fatal: libreadline.so.4: open
failed: No such file or directory

System details:

bash-2.03$ uname -a
SunOS webdev1 5.8 Generic_108528-12 sun4u sparc SUNW,UltraAX-i2

Anybody know what I did wrong?

Thanks for any help

Adam


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


Re: Installing on Sun machine

От
Andrew Sullivan
Дата:
On Fri, Jan 17, 2003 at 04:29:37PM +0000, Adam Witney wrote:
> This was the error message issued by that program:
> ld.so.1: /usr/local/pgsql7.3.1/bin/postgres: fatal: libreadline.so.4: open
> failed: No such file or directory

Looks like it can't find your readline libraries.  Time to poke at
your LD_LIBRARY_PATH, and make sure that you actually have readline
installed.

A
--
----
Andrew Sullivan                         204-4141 Yonge Street
Liberty RMS                           Toronto, Ontario Canada
<andrew@libertyrms.info>                              M2P 2A8
                                         +1 416 646 3304 x110