Обсуждение: BUG #3000: Linking problem

Поиск
Список
Период
Сортировка

BUG #3000: Linking problem

От
"laurent faillie"
Дата:
The following bug has been logged online:

Bug reference:      3000
Logged by:          laurent faillie
Email address:      l_faillie@yahoo.com
PostgreSQL version: 8.2.3
Operating system:   HP-UX 11.11
Description:        Linking problem
Details:

Hello,

Even if the compilation succeed, psql binary will core dump on HP-UX 11.11
if compiled with readline support.

To prevent this problem, termcap library has to be linked with this binary.

-ltermcap in $(LIBS) used line 34 of
postgresql-8.2.3/src/bin/psql/Makefile.

Best regards,

Laurent

Re: BUG #3000: Linking problem

От
Tom Lane
Дата:
"laurent faillie" <l_faillie@yahoo.com> writes:
> Even if the compilation succeed, psql binary will core dump on HP-UX 11.11
> if compiled with readline support.
> To prevent this problem, termcap library has to be linked with this binary.

That should happen automatically, and does on my HPUX machines.  You
need to look into why it's not happening on yours, if you want it fixed.

            regards, tom lane