initdb fails after installation on Mac OS X 10.2

From: lawtoc(at)earthlink(dot)net
To: pgsql-admin(at)postgresql(dot)org
Subject: initdb fails after installation on Mac OS X 10.2
Date: 2003-02-15 23:03:30
Message-ID: 8037673.1045354018247.JavaMail.nobody@fozzie.psp.pas.earthlink.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

I've had PostgreSQL 7.1.3 running (Mac OS X) for a while. I recently upgraded to MAC OS X 10.2 (and it appeared that my 7.1.3 install of PostgreSQL no longer works). So I've been trying to upgrade to 7.3. The installation package ran fine. However, when I ran the initdb command, it failed. The only thing I did in preparation for installing 7.3 was to wipe the contents of /usr/local/pgsql/data. This is the error when I run the following command:

.
.
.
[Craig-Lawtons-Computer:/usr/local/pgsql] postgres% /usr/local/bin/initdb -D /usr/local/pgsql/data
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.

The database cluster will be initialized with locale C.

Fixing permissions on existing directory /usr/local/pgsql/data... ok
creating directory /usr/local/pgsql/data/base... ok
creating directory /usr/local/pgsql/data/global... ok
creating directory /usr/local/pgsql/data/pg_xlog... ok
creating directory /usr/local/pgsql/data/pg_clog... ok
creating template1 database in /usr/local/pgsql/data/base/1... dyld: /usr/local/bin/postgres Undefined symbols:
/usr/local/bin/postgres undefined reference to _crypt expected to be defined in /usr/lib/libcrypto.0.9.dylib
/usr/local/bin/initdb: line 582: 2642 Trace/BPT trap "$PGPATH"/postgres -boot -x1 $PGSQL_OPT $BACKEND_TALK_ARG template1

initdb failed.
.
.
.

Any help would be greatly appreciated.

Thanks,

Craig Lawton

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2003-02-16 03:04:43 Re: initdb fails after installation on Mac OS X 10.2
Previous Message Craig Lawton 2003-02-15 22:43:35 initdb fails after installation on Mac OS X 10.2