Received: from briar.mmrd.com (unknown [208.255.226.182]) by postgresql.org (Postfix) with ESMTP id E2A7E475BD1; Tue, 23 Jul 2002 12:20:34 -0400 (EDT) Received: from thorn.mmrd.com (thorn.mmrd.com [172.25.10.100]) by briar.mmrd.com (8.11.2/8.11.2) with ESMTP id g6NHJX712289; Tue, 23 Jul 2002 13:19:33 -0400 Received: from [172.25.1.55] ([172.25.1.55]) by thorn.mmrd.com (8.11.6/8.11.6) with ESMTP id g6NGKex26652; Tue, 23 Jul 2002 12:20:40 -0400 Subject: Re: No command history in psql From: Robert Treat To: Carmen Wai Cc: "pgsql-general@postgresql.org" , pgsql-sql@postgresql.org In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.5 Date: 23 Jul 2002 12:17:56 -0400 Message-Id: <1027441076.4015.51.camel@camel> Mime-Version: 1.0 X-Archive-Number: 200207/1426 X-Sequence-Number: 27913 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@postgresql.org so that your > message can get through to the mailing list cleanly