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

Re: mac install question

From: "Dave Page" <dpage(at)pgadmin(dot)org>
To: "John DeSoi" <desoi(at)pgedit(dot)com>
Cc: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "epicwinter(at)hotmail(dot)com" <epicwinter(at)hotmail(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: mac install question
Date: 2008-07-24 20:24:19
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-general
On Thu, Jul 24, 2008 at 12:55 PM, John DeSoi <desoi(at)pgedit(dot)com> wrote:
> On Jul 24, 2008, at 1:51 AM, Tom Lane wrote:
>> Relative paths sound like the best solution to me, assuming they work.
> Relative paths work fine. I use this all the time for distributing psql. It
> looks something like this:
> install_name_tool -change /path/to/postgresql/lib/libpq.dylib
> @executable_path/../lib/libpq.dylib psql

Yeah, we do that in pgAdmin. In the installer though we have far more
executables and libraries in various locations, and scripting the
required changes (without hardcoding for specific filenames which is a
recipe for future bugs) will be much more tricky.

The other downside is that I won't be able to set the library install
name correctly of course. I'll have to change that to just the

Dave Page
EnterpriseDB UK:

In response to

pgsql-general by date

Next:From: Dave PageDate: 2008-07-24 20:25:25
Subject: Re: mac install question
Previous:From: Tom LaneDate: 2008-07-24 20:22:17
Subject: Re: UPDATE runs slow in a transaction

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