Re: No command history in psql

From: Robert Treat <rtreat(at)webmd(dot)net>
To: Carmen Wai <wai_carmen(at)hotmail(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>, pgsql-sql(at)postgresql(dot)org
Subject: Re: No command history in psql
Date: 2002-07-23 16:17:56
Message-ID: 1027441076.4015.51.camel@camel
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-sql

ldd /path/to/psql should tell you if its finding the readline libraries.
you might also want to do
ldconfig -v | grep 'history'
and
ldconfig -v | grep 'readline'

to see what libraries you have. you can then verify that the libs you
have are actually where your telling pg they are supposed to be.

Robert Treat

On Tue, 2002-07-23 at 10:53, 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??
>
> Thanks a lot!
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Massoud 2002-07-23 16:23:03 Data Corruption
Previous Message Stephan Szabo 2002-07-23 16:01:08 Re: Problem between inheritance and references

Browse pgsql-sql by date

  From Date Subject
Next Message Daryl Herzmann 2002-07-23 16:35:14 Re: Queries not using Index
Previous Message Josh Berkus 2002-07-23 15:40:12 Re: Scan SQL