Re: command-line history (readline) fails

From: Larry Rosenman <ler(at)lerctr(dot)org>
To: john-paul delaney <jp(at)justatest(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: command-line history (readline) fails
Date: 2002-10-28 20:33:15
Message-ID: 1035837207.457.27.camel@lerlaptop.iadfw.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 2002-10-28 at 14:27, john-paul delaney wrote:
> Hello... I'm a newbie to postgresql. I've tried a few times to install readline 4.3, followed by postgresql 7.23, and still the commmand line history in pgsql doesn't function. I've used the --with-includes and --with-libraries configure options to point to where the readline header and shared object files are but with similar disappointing results. The readline .so files are in /usr/local/lib - how can I get postgresql to recognize readline is installed? Redhat 7.3 is the os.
>
> The output of ldd -v /usr/local/pgsql/bin/postgres does not find any readline files.
>
> Any help would be appreciated.
Did you install the readline-devel stuff?

It needs to see the headers.

also, it would be psql that would see them.

FYI:
$ uname -a
FreeBSD lerlaptop.iadfw.net 4.7-STABLE FreeBSD 4.7-STABLE #13: Fri Oct
25 01:32:16 CDT 2002
ler(at)lerlaptop(dot)lerctr(dot)org:/usr/obj/usr/src/sys/LERLAPTOP i386
$
$ ldd `whence psql`
/usr/local/bin/psql:
libpq.so.2 => /usr/local/lib/libpq.so.2 (0x48084000)
libintl.so.4 => /usr/local/lib/libintl.so.4 (0x48099000)
libssl.so.3 => /usr/local/lib/libssl.so.3 (0x480a1000)
libcrypto.so.3 => /usr/local/lib/libcrypto.so.3 (0x480ce000)
libz.so.2 => /usr/lib/libz.so.2 (0x48183000)
libreadline.so.4 => /usr/lib/libreadline.so.4 (0x48190000)
libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x481b5000)
libgnugetopt.so.1 => /usr/local/lib/libgnugetopt.so.1 (0x481ce000)
libm.so.2 => /usr/lib/libm.so.2 (0x481d1000)
libutil.so.3 => /usr/lib/libutil.so.3 (0x481ec000)
libc.so.4 => /usr/lib/libc.so.4 (0x481f5000)
libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x4828e000)
libncurses.so.5 => /usr/lib/libncurses.so.5 (0x48366000)
$

>
> Thanks
> /j-p.
>
> JUSTATEST Art Online
> http://www.justatest.com
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Robert Treat 2002-10-28 20:33:16 Re: Two Phase Commit support
Previous Message Robert Treat 2002-10-28 20:28:27 Re: multiple databases