Re: pgNixInstaller: Making PostgreSQL relocatable

Поиск
Список
Период
Сортировка
От John DeSoi
Тема Re: pgNixInstaller: Making PostgreSQL relocatable
Дата
Msg-id BB840E89-0773-4365-A4C4-2E605864299D@pgedit.com
обсуждение исходный текст
Ответ на Re: pgNixInstaller: Making PostgreSQL relocatable  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pgNixInstaller: Making PostgreSQL relocatable  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-hackers
On Mar 23, 2006, at 12:15 AM, Tom Lane wrote:

> OK ... it's supposed to work to shift the whole installation tree to
> a new root, ie, paths to places like the /share and /lib directories
> are determined relative to where the backend executable actually is.
> If this is not working on Solaris then for sure we want to know ...

It is not relocatable on OS X. The full prefix path seems to be used  
instead. For example:

[M:bin/postgresql/bin] % otool -L pg_ctl
pg_ctl:        /sw/bin/postgresql-8.1.2/lib/libpq.4.dylib (compatibility  
version 4.0.0, current version 4.1.0)        /usr/lib/libssl.0.9.7.dylib (compatibility version 0.9.7,  
current version 0.9.7)        /usr/lib/libcrypto.0.9.7.dylib (compatibility version 0.9.7,  
current version 0.9.7)        /usr/lib/libz.1.dylib (compatibility version 1.0.0, current  
version 1.2.3)        /usr/lib/libresolv.9.dylib (compatibility version 1.0.0,  
current version 369.1.5)        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0,  
current version 88.1.2)        /usr/lib/libmx.A.dylib (compatibility version 1.0.0, current  
version 92.0.0)


It would be really nice to have relative references.


John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL



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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Did this work in earlier version of Postgres?
Следующее
От: Kurt Roeckx
Дата:
Сообщение: Re: [SUGGESTION] CVSync