Re: Install problems for postgresql-8.4.1 - Mailing list pgsql-novice

From Don Fox
Subject Re: Install problems for postgresql-8.4.1
Date
Msg-id 36DB9263-F199-48FE-AA89-ECA4D2C9F2BD@mac.com
Whole thread Raw
In response to Re: Install problems for postgresql-8.4.1  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Install problems for postgresql-8.4.1  (Michael Wood <esiotrot@gmail.com>)
List pgsql-novice

'sudo find . -name 'libpg*.dylib' -print' at / 

Produced only this:

./usr/local/pgsql/lib/libpgtypes.3.1.dylib
./usr/local/pgsql/lib/libpgtypes.3.dylib
./usr/local/pgsql/lib/libpgtypes.dylib

At this point Im mystified!? I think the commands I'm using for installation are correct. The bus error I get from creatdb must be something to do with my machine?

Any suggestions? This must be doable.

Thanks,
Don


On Nov 2, 2009, at 11:35 PM, Tom Lane wrote:

Don Fox <donfox1@mac.com> writes:
I have done a find from root and can't locate libpg.so!
Does someone know where it's supposed to reside?

On a Mac it's actually going to be .dylib --- sorry about saying .so.
You should have something like

-rwxr-xr-x   1 tgl  admin  166520 Oct  2 23:51 libpq.5.3.dylib*
lrwxr-xr-x   1 tgl  admin      15 Oct  2 23:51 libpq.5.dylib@ -> libpq.5.3.dylib
lrwxr-xr-x   1 tgl  admin      15 Oct  2 23:51 libpq.dylib@ -> libpq.5.3.dylib

where the numbers will vary depending on which PG release we're
talking about.

regards, tom lane

pgsql-novice by date:

Previous
From: Greg Stark
Date:
Subject: Re: corrupt db
Next
From: Don Fox
Date:
Subject: Re: Install problems for postgresql-8.4.1