Skip site navigation (1) Skip section navigation (2)

Unresolved external: tgetent

From: Christoph Haller <ch(at)rodos(dot)fzk(dot)de>
To: pgsql-sql(at)postgresql(dot)org
Subject: Unresolved external: tgetent
Date: 2004-12-08 12:50:59
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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();
 PostgreSQL 7.4.5 on hppa2.0w-hp-hpux11.00, compiled by GCC gcc (GCC)
(1 row)

But when I started psql it immediately core dumped with Unresolved external: tgetent

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

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

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/ 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 by date

Next:From: Matthew EngelbertDate: 2004-12-08 19:21:45
Subject: Indexing Strategy
Previous:From: Pierre-Frédéric CaillaudDate: 2004-12-07 08:27:41
Subject: Re: Making dirty reads possible?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group