Re: [PORTS] Shared library search paths

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: [PORTS] Shared library search paths
Дата
Msg-id 397509CA.C2B623B1@alumni.caltech.edu
обсуждение исходный текст
Ответ на Shared library search paths  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
> Some platforms (OSF/cc, HPUX) are already using -rpath or equivalent, so
> you don't have to specify a shared library search path at runtime. I think
> that a lot more platforms could use this. Can people comment on whether
> and how it works on their platform? Essentially,
> LDFLAGS+=-rpath '$(libdir)'

For linux (at least gcc 2.7.x and 2.95.2 systems):

if specified in the compilation step,

  -Wl,-rpath $(libdir)

or if specified directly to the linker

  -rpath $(libdir)

                     - Thomas

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

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: Re: TUPLE SIZE HELP
Следующее
От: The Hermit Hacker
Дата:
Сообщение: Re: [PORTS] Shared library search paths