Re: "ld.so.l: /usr/local/pgsql/bin/initdb: fatal:

From: Jeff Frost <jeff(at)frostconsultingllc(dot)com>
To: olive Mckenzie <olivemckenzie2003(at)yahoo(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: "ld.so.l: /usr/local/pgsql/bin/initdb: fatal:
Date: 2005-11-19 21:23:27
Message-ID: Pine.LNX.4.64.0511191319170.22716@discord.dyndns.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)frostconsultingllc(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Jeff Frost 2005-11-19 21:44:12 Re: "ld.so.l: /usr/local/pgsql/bin/initdb: fatal:
Previous Message olive Mckenzie 2005-11-19 21:02:08 "ld.so.l: /usr/local/pgsql/bin/initdb: fatal: libreadline.so.4: open failed: No such file or directory"