Re: Solaris 8 Sparc initdb error - Mailing list pgsql-general

From Tom Lane
Subject Re: Solaris 8 Sparc initdb error
Date
Msg-id 6105.977860184@sss.pgh.pa.us
Whole thread Raw
In response to Solaris 8 Sparc initdb error  (kenford@infomak.com)
List pgsql-general
kenford@infomak.com writes:
> # LD_RUN_PATH=/usr/local/pgsql/lib;export LD_RUN_PATH
> # LD_LIBRARY_PATH=/usr/local/pgsql/lib;export LD_LIBRARY_PATH
> # ...
> # 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

Hm.  Is LD_LIBRARY_PATH still set in the environment after you su ?
Evidently the dynamic loader is failing to find a library that *had* been
found during configure and build.

            regards, tom lane

pgsql-general by date:

Previous
From: kenford@infomak.com
Date:
Subject: Solaris 8 Sparc initdb error
Next
From: teg@redhat.com (Trond Eivind Glomsrød)
Date:
Subject: Re: red hat/mysql fiasco