Wednesday, July 23, 2008

Re: [GENERAL] mac install question

Dave Page <dpage@pgadmin.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

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

No comments: