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 503FAD1C4E1 for ; Sat, 9 Aug 2003 18:30:02 +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 98157-01 for ; Sat, 9 Aug 2003 15:28:32 -0300 (ADT) Received: from b.smtp-out.sonic.net (b.smtp-out.sonic.net [208.201.224.39]) by svr1.postgresql.org (Postfix) with SMTP id E9492D1C4B9 for ; Sat, 9 Aug 2003 15:29:50 -0300 (ADT) Received: (qmail 27053 invoked from network); 9 Aug 2003 18:29:51 -0000 Received: from ultra.sonic.net (208.201.224.22) by b.smtp-out.sonic.net with SMTP; 9 Aug 2003 18:29:51 -0000 Received: from thune.mrc-home.org (adsl-209-204-178-126.sonic.net [209.204.178.126]) by ultra.sonic.net (8.11.6p2/8.8.5) with ESMTP id h79ITLx20830 for ; Sat, 9 Aug 2003 11:29:21 -0700 X-envelope-info: Received: by thune.mrc-home.org (8.11.4) id h79IToo21519; Sat, 9 Aug 2003 11:29:50 -0700 Newsgroups: local.ml.postgresql.admin From: dalgoda@ix.netcom.com (Mike Castle) Subject: Re: readline missing on linux? References: <200308081719.h78HJe701549@candle.pha.pa.us> <28362.1060363698@sss.pgh.pa.us> Organization: House of Linux X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Path: not-for-mail Originator: nexus@thune.mrc.org (Mike Castle) Date: Sat, 09 Aug 2003 11:29:49 -0700 Message-ID: To: pgsql-admin@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/130 X-Sequence-Number: 9852 In article <28362.1060363698@sss.pgh.pa.us>, 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. You also then create a difference between static and dynamic linking which a lot of people, such as myself, hate. -lreadline for dynamic linking but -lreadline -ltermcap for static linking? No thanks; I'd rather have consistency. mrc -- Mike Castle dalgoda@ix.netcom.com www.netcom.com/~dalgoda/ We are all of us living in the shadow of Manhattan. -- Watchmen fatal ("You are in a maze of twisty compiler features, all different"); -- gcc