• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Postgres within installer sometimes does not work
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Postgres within installer sometimes does not work


  • Subject: Re: Postgres within installer sometimes does not work
  • From: Peter Elmers <email@hidden>
  • Date: Tue, 27 Mar 2007 09:20:05 +0200

Hi Brian,

please find my answers under your comments.

Am 26.03.2007 um 16:08 schrieb Brian Ray:


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.

True. At the beginning, we were not sure where to put the installation. As it seems that i have to recompile, this will change.



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?


It seems that we are using several system libraries, which could indeed lead to problems.
But compiling postgres with "--with-libraries" and pointing this to the application directory does not change anything on the otool output.


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

That is the normal way. We already tried to start the postmaster directly on the target system. It says that it is starting but no process is shown.

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
References: 
 >Re: Postgres within installer sometimes does not work (From: Peter Elmers <email@hidden>)
 >Re: Postgres within installer sometimes does not work (From: Brian Ray <email@hidden>)

  • Prev by Date: Re: Runing GUIs from external code binaries
  • Next by Date: 10.4 -> 10.3 PackageMaker Problems
  • Previous by thread: Re: Postgres within installer sometimes does not work
  • Next by thread: (no subject)
  • Index(es):
    • Date
    • Thread