Re: Relocatable installs

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Relocatable installs
Дата
Msg-id 40AA633B.6080906@dunslane.net
обсуждение исходный текст
Ответ на Re: Relocatable installs  (Jan Wieck <JanWieck@Yahoo.com>)
Список pgsql-hackers
Jan Wieck wrote:

>
> If I remore the whole -rpath thing, and remove the two -L options and 
> the -lpq and -lpgport, and add the libpq.a and libpgport.a explicitly 
> to the linker call, the psql executable on my Linux box grows from 
> 421761 to 677682 bytes in size. It is still shared linked against 
> libc, libz, libreadline and a bunch of otheres, but all of them are in 
> /lib or /usr/lib, so they are standard or system libraries. It does 
> not depend on a libpq.so any more, and that is what we want.
>

One of the reasons I originally suggested an explicit 'relocatable' 
config option was worry about the rpath thing. Maybe I should have 
raised red flags a bit more ;-)

Static linking against libpq would have considerable advantages for the 
Windows port (see recent discussion regarding library search paths on 
W32 on the w32-hackers list).

cheers

andrew


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

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