Re: Relocatable installs

Поиск
Список
Период
Сортировка
От Jan Wieck
Тема Re: Relocatable installs
Дата
Msg-id 40AA9D14.5050906@Yahoo.com
обсуждение исходный текст
Ответ на Re: Relocatable installs  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian wrote:
> Peter Eisentraut wrote:
>> Jan Wieck wrote:
>> > Boy, nobody was suggesting 100% static linking. What kind of madness
>> > are you getting into if you link libpq.a into psql? There is
>> > something between all or nothing, isn't there?
>> 
>> It's not going to be only psql and libpq.  The next thing is, someone 
>> wants to have a relocatable libpqxx, or a relocatable PHP, or a 
>> relocatable MyCoolReplicationSystem.  Before you know it, half the 
>> world has the other half of the world statically linked.  This can't be 
>> the solution.
> 
> So your opinion is that we need to just require some user configuration
> changes to find the shared libs, right?
> 

Peter is mixing issues here. How another application finds the right 
libpq.so, libpqxx.so or whatever interface lib after someone moved the 
PostgreSQL lib directory somewhere else has absolutely nothing to do 
with how we make sure that our binary utilities like initdb, psql and so 
forth are protected against using the wrong one in a multi-version 
relocatable environment.

And that some platforms support relative rpath is nice handwaving, but 
it doesn't get us anywhere.


Jan

-- 
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck@Yahoo.com #



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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Call for 7.5 feature completion
Следующее
От: Tom Lane
Дата:
Сообщение: Re: XactIsoLevel handling