Unresolved external: tgetent

Поиск
Список
Период
Сортировка
От Christoph Haller
Тема Unresolved external: tgetent
Дата
Msg-id 41B6F8B2.7310A3DD@rodos.fzk.de
обсуждение исходный текст
Ответы Re: Unresolved external: tgetent
Список pgsql-sql
I doubt this is the right list, but it's the only one I'm subscribed to,

so please, if one of the core members is reading this, forward it to the
right one.

I have successfully compiled and installed 7.4.5 yesterday.
After doing 'make' I saw the line "Ready to install".
template1=# select version();                                 version
--------------------------------------------------------PostgreSQL 7.4.5 on hppa2.0w-hp-hpux11.00, compiled by GCC gcc
(GCC)
3.3.1
(1 row)

But when I started psql it immediately core dumped with
libreadline.sl.5 Unresolved external: tgetent

I did a search on the mailing list archives and got 63 hits on
'tgetent',
dating from 1997 to 2004, all having the same problem,
the missing '-ltermcap' in LIBS in src/Makefile.global.

After distclean and doing configure LIBS="-ltermcap" ...
and make again it finally worked.

In http://archives.postgresql.org/pgsql-bugs/2001-09/msg00023.php
Peter Eisentraut writes
> LIBS = -lz -lresolv -lcompat -lm -lutil -ltermcap -lreadline

That's a good fix.

The current CVS tip also works around this problem.

But the 7.4.5 src/Makefile.global still has this:
LIBS = -lz -lreadline -lPW -lgen -lBSD -ldld -lnsl -lm

So it appears this fix must have been lost anywhere.

Regards, Christoph





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

Предыдущее
От: Pierre-Frédéric Caillaud
Дата:
Сообщение: Re: Making dirty reads possible?
Следующее
От: Wei Weng
Дата:
Сообщение: Cast NULL into Timestamp?