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 7B8743A6801 for ; Mon, 13 Dec 2004 03:13:55 +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 36501-02 for ; Mon, 13 Dec 2004 03:13:40 +0000 (GMT) Received: from candle.pha.pa.us (candle.pha.pa.us [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id 5C65E3A3AC4 for ; Mon, 13 Dec 2004 03:13:42 +0000 (GMT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id iBD3Dgp05194; Sun, 12 Dec 2004 22:13:42 -0500 (EST) From: Bruce Momjian Message-Id: <200412130313.iBD3Dgp05194@candle.pha.pa.us> Subject: Re: Unresolved external: tgetent In-Reply-To: <41B6F8B2.7310A3DD@rodos.fzk.de> To: Christoph Haller Date: Sun, 12 Dec 2004 22:13:42 -0500 (EST) Cc: pgsql-sql@postgresql.org X-Mailer: ELM [version 2.4ME+ PL108 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.003 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200412/74 X-Sequence-Number: 19694 Would you please test 8.0RC release on the ftp site. It might already be fixed. --------------------------------------------------------------------------- Christoph Haller wrote: > 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 > > > > > ---------------------------(end of broadcast)--------------------------- > TIP 9: the planner will ignore your desire to choose an index scan if your > joining column's datatypes do not match > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073