Re: mac install question

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: mac install question
Дата
Msg-id 937d27e10807241324y40ebc04es5c3c03ba8ca9b5b8@mail.gmail.com
обсуждение исходный текст
Ответ на Re: mac install question  (John DeSoi <desoi@pgedit.com>)
Список pgsql-general
On Thu, Jul 24, 2008 at 12:55 PM, John DeSoi <desoi@pgedit.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
filename.

--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: UPDATE runs slow in a transaction
Следующее
От: "JD Wong"
Дата:
Сообщение: [PERL DBI] Insertiing data across multiple tables