Re: Unresolved external: tgetent

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Christoph Haller <ch(at)rodos(dot)fzk(dot)de>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Unresolved external: tgetent
Date: 2004-12-13 03:13:42
Message-ID: 200412130313.iBD3Dgp05194@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Alex Beamish 2004-12-13 03:43:16 Re: parse error at or near "(" -- Huh???
Previous Message Josh Berkus 2004-12-13 02:48:27 Re: Query is not using index when it should