Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group