pg_id: command not found

From: "Carsten Huettl" <CHUETTL(at)ahorn-Net(dot)de>
To: pgsql-novice(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: pg_id: command not found
Date: 2000-08-04 05:44:33
Message-ID: 34BB2B450C0@ahorn.sgh.uunet.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hello,

still again:

I try to setup postgresql on my system.
SuSE Linux post 6.3.
I installed postgres via the supplied rpm file
postgres-6.5.3-65.i386.rpm
I create a user postgres, then
su postgres
and
/usr/lib/pgsql/bin init db - u postgres
but all I got is

postgres(at)thetys:/usr/lib/pgsql > /usr/lib/pgsql/bin/initdb -u postgres

/usr/lib/pgsql/bin/initdb: pg_id: command not found
Unable to determine a valid username. If you are running
initdb without an explicit username specified, then there
may be a problem with finding the Postgres shared library
and/or the pg_id utility.

I did
export PGLIB=/usr/lib/pgsql/lib/
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/pgsql/lib/

but again the same err msg.
The pg_id file is in the directory bin.
I tried:
chown -R postgres /usr/lib/pgsql
but it did not help

What else can I do?

C.

--
Carsten Huettl - <http://www.ahorn-Net.de>
pgp-key on request

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2000-08-04 06:06:00 Re: pg_id: command not found
Previous Message luc00 2000-08-03 13:51:59 libpq++ app code examples ?