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 23:55:13
Message-ID: Pine.LNX.4.64.0511191553090.16022@discord.dyndns.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

> What is the exact command you are running (copy/paste)? As simply issuing "su
> postgres" should not run initdb on login.
>
>
> I typed
>
> # su postgres
> $ /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data

Well, that's quite different than what you mentioned before. You should do it
like this:

su postgres
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/sfw/lib
export LD_LIBRARY_PATH
/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data

But really you should probably use crle to update your ld search lib.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Jeff Frost 2005-11-19 23:55:31 Re: "ld.so.1: /usr/local/pgsql/bin/initdb: fatal:
Previous Message olive Mckenzie 2005-11-19 23:05:45 Re: "ld.so.1: /usr/local/pgsql/bin/initdb: fatal: