Re: Postgres within installer sometimes does not work
Re: Postgres within installer sometimes does not work
- Subject: Re: Postgres within installer sometimes does not work
- From: Brian Ray <email@hidden>
- Date: Mon, 26 Mar 2007 09:08:02 -0500
On Mar 26, 2007, at 8:48 AM, Peter Elmers wrote:
I configured postgres to write a log-file, but it did not write it.
Not even touch one.
To have postgres running, i compiled it with "--disable-rpath" and
with a prefix to have a version, which can be installed anywhere i
like.
--disable-rpath is only part of relocatable installs.
What do you mean with "your own copy of system libraries"? Do you
mean it could be helpful to have some system libraries deployed
together with the postgres folder and extending the amount of
libraries already shipped with the lib-folder of pgsql?
Minimally, you will probably need to tell the OS how to find shared
libraries (ie setting LD_LIBRARY_PATH). Better, you can statically
link to anything PosgreSQL uses. What is going wrong is sure to be
some incompatibility between dependancies or where your looking for
them since your install runs on other cases. Or something unique to
the environment or user permissions between the systems where you are
testing installations.
You should be able to run 'otool -L' on the postgresql binaries to
see what they use dynamically. Have you tried this?
Its a little odd you are not getting logs or getting errors to the
console. Have you tried starting up your copy of postgres from the
command line. In other words, precisely how are you starting the
postmaster?
Are you doing something like:
$(PREFIX)/bin/pg_ctl -D $(PREFIX)/pgsql/data -l $(PREFIX)/logs/
postgres.log start
hth,
Brian Ray
email@hidden
http://kazavoo.com/blog
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden