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 48F503A5FD8 for ; Mon, 13 Dec 2004 12:01:50 +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 79809-10 for ; Mon, 13 Dec 2004 12:01:37 +0000 (GMT) Received: from fzkmail2.fzk.de (fzkmail2.fzk.de [141.52.27.52]) by svr1.postgresql.org (Postfix) with SMTP id 6F6023A3B8C for ; Mon, 13 Dec 2004 12:01:35 +0000 (GMT) Received: FROM resy5.fzk.de BY fzkmail2.fzk.de ; Mon Dec 13 13:01:20 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 iBDC1IsG015036; Mon, 13 Dec 2004 13:01:19 +0100 Message-ID: <41BD848D.D016BCF1@rodos.fzk.de> Date: Mon, 13 Dec 2004 13:01:17 +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: Bruce Momjian Cc: pgsql-sql@postgresql.org Subject: Re: Unresolved external: tgetent References: <200412130313.iBD3Dgp05194@candle.pha.pa.us> 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.091 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200412/79 X-Sequence-Number: 19699 I did 8.0.0rc1 - same behavior psql template1 Welcome to psql 8.0.0rc1, the PostgreSQL interactive terminal. Type: \copyright for distribution terms \h for help with SQL commands \? for help with psql commands \g or terminate with semicolon to execute query \q to quit /usr/lib/dld.sl: Unresolved symbol: tgetent (code) from /usr/local/...libreadline.sl.5 Abort(coredump) Furthermore, the regression test fails badly on parallel group (20 tests): point lseg running forever. The process list shows ps -fu rodos UID PID PPID C STIME TTY TIME COMMAND rodos 14786 6955 228 10:26:43 pts/0 3:08 /bin/sh ./pg_regress --temp-install --top-builddir=../../.. rodos 6796 18757 0 10:25:18 pts/0 0:00 gmake check rodos 14892 14786 0 10:26:46 pts/0 0:00 rodos 6946 6945 0 10:25:22 pts/0 0:00 gmake -C regress check rodos 14758 14755 0 10:26:41 pts/0 0:00 postgres: writer process rodos 14787 6955 0 10:26:43 pts/0 0:00 tee ./regression.out rodos 14755 6955 0 10:26:41 pts/0 0:00 /fd1/rodos/ropub/postgresql-8.0.0rc1/src/test/regress/./tmp_ rodos 6955 6946 0 10:25:22 pts/0 0:00 /bin/sh ./pg_regress --temp-install --top-builddir=../../.. rodos 15064 6498 1 10:30:06 pts/1 0:00 ps -fu rodos rodos 14890 14786 1 10:26:46 pts/0 0:00 rodos 6498 6496 0 10:20:04 pts/1 0:00 -ksh rodos 6945 6796 0 10:25:22 pts/0 0:00 gmake -C src/test check rodos 18757 18755 0 09:41:07 pts/0 0:00 -ksh If this is of any help ... If I can do anything else, let me know. Regards, Christoph Bruce Momjian wrote: > > 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 > >