X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 850F93A6504 for ; Fri, 10 Dec 2004 18:56:15 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 94994-07 for ; Fri, 10 Dec 2004 18:55:31 +0000 (GMT) Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by svr1.postgresql.org (Postfix) with ESMTP id 0B6D23A653E for ; Fri, 10 Dec 2004 18:26:12 +0000 (GMT) Received: from fzkmail2.fzk.de (fzkmail2.fzk.de [141.52.27.52]) by svr4.postgresql.org (Postfix) with SMTP id 00DD05B0A5F for ; Wed, 8 Dec 2004 12:59:07 +0000 (GMT) Received: FROM resy5.fzk.de BY fzkmail2.fzk.de ; Wed Dec 08 13:51:12 2004 +0100 Received: from rodos.fzk.de (resy6.fzk.de [141.52.68.10]) by resy5.fzk.de (8.12.7/8.12.7/SuSE Linux 0.6) with ESMTP id iB8Cp0sG011186 for ; Wed, 8 Dec 2004 13:51:06 +0100 Message-ID: <41B6F8B2.7310A3DD@rodos.fzk.de> Date: Wed, 08 Dec 2004 13:50:59 +0100 From: Christoph Haller X-Mailer: Mozilla 4.77 [en] (X11; U; HP-UX B.10.20 9000/780) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-sql@postgresql.org Subject: Unresolved external: tgetent Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS - amavis-milter (http://www.amavis.org/) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.182 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200412/47 X-Sequence-Number: 19667 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