X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 0E5C1D1C91F for ; Fri, 8 Aug 2003 17:20:07 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 54858-05 for ; Fri, 8 Aug 2003 14:18:39 -0300 (ADT) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id EEFA9D1C9B4 for ; Fri, 8 Aug 2003 14:19:54 -0300 (ADT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id h78HJe701549; Fri, 8 Aug 2003 13:19:40 -0400 (EDT) From: Bruce Momjian Message-Id: <200308081719.h78HJe701549@candle.pha.pa.us> Subject: Re: readline missing on linux? In-Reply-To: <21089.1060351426@sss.pgh.pa.us> To: Tom Lane Date: Fri, 8 Aug 2003 13:19:40 -0400 (EDT) Cc: Randolph Jones , pgsql-admin@postgresql.org X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/121 X-Sequence-Number: 9843 Just a question --- if you link readline against -ltermcap when the library is created, you don't need to add -ltermcap when you link apps to readline, right? You somehow bind the dependency in to the shared library, right? --------------------------------------------------------------------------- Tom Lane wrote: > Bruce Momjian writes: > > It appears your readline needs -ltermcap, -lterminfo, or -lcurses to > > link properly. I think this happens when the readline library is not > > linked against those when it is created. > > On Red Hat 8.0, readline depends on -ltermcap. I would imagine the same > is true on RH9, but haven't got it installed personally. > > If you don't have termcap (and possibly termcap-devel, not sure if > that's needed) then configure should detect the missing dependency. > Maybe it did --- you didn't show us enough of config.log to see what > happened. > > regards, tom lane > -- 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