pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Sullivan <andrew@libertyrms.info>
To: pgsql-general@postgresql.org
Subject: Re: No command history in psql
Date: Tue, 23 Jul 2002 11:18:01 -0400
Message-ID: <20020723111801.I23294@mail.libertyrms.com> (raw)
In-Reply-To: <F106F9vJZTuG5wQ0l8H0001f19d@hotmail.com>
References: <F106F9vJZTuG5wQ0l8H0001f19d@hotmail.com>

On Tue, Jul 23, 2002 at 02:53:10PM +0000, Carmen Wai wrote:
> Hello:
> 
> I am upgrading to postgresql version 7.2.1. I found that the psql has not 
> included the readline library automatically and doesn't have any readline 
> and history command function. So I configure the postgresql with option 
> --with-includes=/usr/local/include and --with-libs=/usr/libs/ so that it 
> should be able to search for the corresponding library and header files 
> (libreadline.a, history.h, readline.h). But it still fails!!!! Does anyone 
> get any idea??

What does your output from configure say?  I presume it doesn't
detect the relevant libs?

You don't say what sortof architecture you're working on, but if it
happens to be Solaris, there's a gotcha: you need 32-bit libraries to
compile with a 32-bit compiler, and 64-bit libraries to compile with
a 64-bit compiler.  I have run into this problem on occasion when I
gave the wrong path to --with-libs and friends.

A 

-- 
----
Andrew Sullivan                               87 Mowat Avenue 
Liberty RMS                           Toronto, Ontario Canada
<andrew@libertyrms.info>                              M6K 3E3
                                         +1 416 646 3304 x110




view thread (3+ messages)  latest in thread

Message-ID: <20020723111801.I23294@mail.libertyrms.com>
Permalink:  ../20020723111801.I23294@mail.libertyrms.com/
Also on:    postgresql.org/message-id/20020723111801.I23294@mail.libertyrms.com

 · 

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: andrew@libertyrms.info, pgsql-general@postgresql.org
  Subject: Re: No command history in psql
  In-Reply-To: <20020723111801.I23294@mail.libertyrms.com>

* 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