Re: mac install question

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: "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 05:51:52
Message-ID: 20222.1216878712@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Dave Page <dpage(at)pgadmin(dot)org> writes:
>> What are you using it for that you need it to be present at install
>> time?

> 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).

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

Relative paths sound like the best solution to me, assuming they work.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2008-07-24 05:56:14 Re: contrib catalogs
Previous Message Steve Martin 2008-07-24 05:02:03 Re: Substitute a variable in PL/PGSQL.