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 1D301D1C91F for ; Fri, 8 Aug 2003 17:33:29 +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 63374-02 for ; Fri, 8 Aug 2003 14:32:01 -0300 (ADT) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id A1907D1C4BF for ; Fri, 8 Aug 2003 14:33:13 -0300 (ADT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id h78HWXZ02745; Fri, 8 Aug 2003 13:32:33 -0400 (EDT) From: Bruce Momjian Message-Id: <200308081732.h78HWXZ02745@candle.pha.pa.us> Subject: Re: readline missing on linux? In-Reply-To: <28362.1060363698@sss.pgh.pa.us> To: Tom Lane Date: Fri, 8 Aug 2003 13:32:33 -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/118 X-Sequence-Number: 9840 Tom Lane wrote: > Bruce Momjian writes: > > 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? > > It could be done that way, but apparently is not on many platforms. > What configure is testing for is to see whether "-lreadline" links > successfully without a following "-ltermcap". It doesn't. Yes, that's what I thought. Someone submitted a patch to add -lm to ecpglib because it seems it needs it now and we don't want all the apps to have to link it in. -- 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