Re: mac install question

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: mac install question
Дата
Msg-id 4887E477.7050408@postnewspapers.com.au
обсуждение исходный текст
Ответ на Re: mac install question  (Dave Page <dpage@pgadmin.org>)
Список pgsql-general
Dave Page wrote:

> The linker hardcodes library paths into exes and libs. We examine these
> paths at install time using otool and rewrite them from the staging
> paths on the build machine to whatever directory the user chose to
> install to using install_name_tool(1).

Yep, the mac linker seems to default to absolute rpath linking, which I
personally find *really* frustrating.

> The other option would be to rewrite the paths to be relative at build
> time I guess.

That's the approach most Mac apps take, and is supported by the @
relative path syntax in install_name_tool.

--
Craig Ringer

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

Предыдущее
От: "Garber, Mikhail"
Дата:
Сообщение: problem installing RPMs on RHEL5
Следующее
От: Chris
Дата:
Сообщение: Re: pg_query transaction: auto rollback? begin or start?? commit or end???