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

Re: Install from source

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Adam Lang" <aalang(at)rutgersinsurance(dot)com>
Cc: "PGSQL General" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Install from source
Date: 2000-08-30 20:36:18
Message-ID: 22095.967667778@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-general
"Adam Lang" <aalang(at)rutgersinsurance(dot)com> writes:
> OK, I downloaded the source and followed the directions from here
> (http://www.postgresql.org/docs/admin/installation.htm) and when I run the
> command: /usr/local/pgsql/bin/postmaster -i -D /usr/local/pgsql/data
>> logfile 2>&1 &

> I get the error:
> [1] 28156
> bash: logfile: Permission denied

Do you have write permission in the directory you're doing this in?

> I try to createdb anyway and I get:
> /usr/local/pgsql/bin/psql: error in loading shared libraries: libpq.so.2.1:
> cannot open shared object file: No such file or directory
> createdb: database creation failed
> [1]+  Exit 1                  /usr/local/pgsql/bin/postmaster -i -D
> /usr/local/pgsql/data>logfile 2>&1

Sounds like you have not done the incantation to make the shared
libraries available --- see step 8 in
http://www.postgresql.org/users-lounge/docs/7.0/postgres/install17165.htm
The ldconfig method is probably what you want to use.

			regards, tom lane

In response to

Responses

pgsql-general by date

Next:From: Adam LangDate: 2000-08-30 20:44:05
Subject: Re: Install from source
Previous:From: Adam LangDate: 2000-08-30 20:35:43
Subject: Post install - error

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