Thread: createdb error after new install

createdb error after new install

From
"LA Duerksen"
Date:
Running on OpenBSD 3.2 Stable
Installed postgresql 7.3.2
 
The "initdb" seemed to work fine
 
The database server seemed to start fine and appears to be running in the background.
 
ps -ax reports
 
15942 C3  I       0:00.07 /usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/d
28899 C3  I       0:00.01 postmaster: stats buffer process    (postgres)
6524 C3  I       0:00.02 postmaster: stats collector process    (postgres)
but the "createdb" command returns:
 
/usr/libexec/ld.so: psql: libpq.so.3.0: No such file or directory
createdb: database creation failed
 
what did I do wrong?