Re: "ld.so.l: /usr/local/pgsql/bin/initdb: fatal: - Mailing list pgsql-admin

From Jeff Frost
Subject Re: "ld.so.l: /usr/local/pgsql/bin/initdb: fatal:
Date
Msg-id Pine.LNX.4.64.0511191319170.22716@discord.dyndns.org
Whole thread Raw
In response to "ld.so.l: /usr/local/pgsql/bin/initdb: fatal: libreadline.so.4: open failed: No such file or directory"  (olive Mckenzie <olivemckenzie2003@yahoo.com>)
List pgsql-admin
Olive,

You need to locate the libreadline.so.4 shared library on your system.  I'm
guessing it's not in any of the standard locations and then add that path to
your LD_LIBRARY_PATH.  You might also need to install libreadline if you do
not have it available on your system.

I'm curious as to why initdb is kicking off when you su to the postgres user
though.  Is this how the solaris pkg is set up?

--
Jeff Frost, Owner     <jeff@frostconsultingllc.com>
Frost Consulting, LLC     http://www.frostconsultingllc.com/
Phone: 650-780-7908    FAX: 650-649-1954

On Sat, 19 Nov 2005, olive Mckenzie wrote:

> "ld.so.l: /usr/local/pgsql/bin/initdb: fatal: libreadline.so.4: open failed: No such file or directory"
>
>  I am using Solaris 10 and postgres-8.0.1
>  after typying
>
>  # su postgres
>  I get the message
>
>  $ld.so.l: /usr/local/pgsql/bin/initdb: fatal: libreadline.so.4: open failed: No such file or directory

pgsql-admin by date:

Previous
From: olive Mckenzie
Date:
Subject: "ld.so.l: /usr/local/pgsql/bin/initdb: fatal: libreadline.so.4: open failed: No such file or directory"
Next
From: Jeff Frost
Date:
Subject: Re: "ld.so.l: /usr/local/pgsql/bin/initdb: fatal: