Re: mac install question - Mailing list pgsql-general

From Dave Page
Subject Re: mac install question
Date
Msg-id BB78AA1E-1285-438D-B78F-AB6F81F22F3C@pgadmin.org
Whole thread Raw
In response to Re: mac install question  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: mac install question
Re: mac install question
List pgsql-general
On 23 Jul 2008, at 21:47, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> dpage@pgadmin.org writes:
>> Thanks for the log. It shows that the otool utility couldn't be found
>> (which should be a fatal error but that's another issue.
>
>> Is the otool program on your system anywhere? Afaik, it should be on
>> any Mac, but maybe it's part of xcode (i hope not- can anyone
>> confirm?)
>
> Looks like you lose.  I'm not sure where to look for definitive
> package
> contents on Macs, but the file timestamp on /usr/bin/otool shows it
> was
> built at the same time as ar, as, gcc, gprof, size, RezWack, and a
> bunch
> of other /usr/bin programs that look like they'd only come as part of
> xcode not in the base install.
>
> 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.

/D

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: mac install question
Next
From: Michal Seidl
Date:
Subject: How support more native locale in one cluster?