pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedNo command history in psql
3+ messages / 3 participants
[nested] [flat]
* No command history in psql
@ 2002-07-23 14:53 Carmen Wai <wai_carmen@hotmail.com>
0 siblings, 2 replies; 3+ messages in thread
From: Carmen Wai @ 2002-07-23 14:53 UTC (permalink / raw)
To: pgsql-general@postgresql.org; pgsql-sql
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
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: No command history in psql
@ 2002-07-23 15:18 Andrew Sullivan <andrew@libertyrms.info>
parent: Carmen Wai <wai_carmen@hotmail.com>
1 sibling, 0 replies; 3+ messages in thread
From: Andrew Sullivan @ 2002-07-23 15:18 UTC (permalink / raw)
To: pgsql-general@postgresql.org
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
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: No command history in psql
@ 2002-07-23 16:17 Robert Treat <rtreat@webmd.net>
parent: Carmen Wai <wai_carmen@hotmail.com>
1 sibling, 0 replies; 3+ messages in thread
From: Robert Treat @ 2002-07-23 16:17 UTC (permalink / raw)
To: Carmen Wai <wai_carmen@hotmail.com>; +Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>; 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@postgresql.org so that your
> message can get through to the mailing list cleanly
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2002-07-23 16:17 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-07-23 14:53 No command history in psql Carmen Wai <wai_carmen@hotmail.com>
2002-07-23 15:18 ` Andrew Sullivan <andrew@libertyrms.info>
2002-07-23 16:17 ` Robert Treat <rtreat@webmd.net>
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