Re: mac install question - Mailing list pgsql-general

From Craig Ringer
Subject Re: mac install question
Date
Msg-id 4887E477.7050408@postnewspapers.com.au
Whole thread Raw
In response to Re: mac install question  (Dave Page <dpage@pgadmin.org>)
List 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 by date:

Previous
From: "Garber, Mikhail"
Date:
Subject: problem installing RPMs on RHEL5
Next
From: Chris
Date:
Subject: Re: pg_query transaction: auto rollback? begin or start?? commit or end???