pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Christoph Haller <ch@rodos.fzk.de>
Cc: pgsql-sql@postgresql.org
Subject: Re: Unresolved external: tgetent
Date: Sun, 12 Dec 2004 22:13:42 -0500 (EST)
Message-ID: <200412130313.iBD3Dgp05194@candle.pha.pa.us> (raw)
In-Reply-To: <41B6F8B2.7310A3DD@rodos.fzk.de>


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



view thread (4+ messages)  latest in thread

Message-ID: <200412130313.iBD3Dgp05194@candle.pha.pa.us>
Permalink:  ../200412130313.iBD3Dgp05194@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200412130313.iBD3Dgp05194@candle.pha.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: pgman@candle.pha.pa.us, ch@rodos.fzk.de
  Subject: Re: Unresolved external: tgetent
  In-Reply-To: <200412130313.iBD3Dgp05194@candle.pha.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox