Re: command-line history (readline) fails - Mailing list pgsql-general

From john-paul delaney
Subject Re: command-line history (readline) fails
Date
Msg-id Pine.LNX.4.44.0210282146570.1538-100000@justatest.com
Whole thread Raw
In response to Re: command-line history (readline) fails  (Larry Rosenman <ler@lerctr.org>)
Responses Re: command-line history (readline) fails  (Larry Rosenman <ler@lerctr.org>)
Re: command-line history (readline) fails  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
Re: command-line history (readline) fails  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Thanks Larry... fwiw this is my output.

$ ldd psql
   libpq.so.2 => /usr/local/pgsql/lib/libpq.so.2 (0x40013000)
   libcrypt.so.1 => /lib/libcrypt.so.1 (0x400f2000)
   libresolv.so.2 => /lib/libresolv.so.2 (0x4011f000)
   libnsl.so.1 => /lib/libnsl.so.1 (0x4012f000)
   libdl.so.2 => /lib/libdl.so.2 (0x40143000)
   libm.so.6 => /lib/libm.so.6 (0x40146000)
   libhistory.so.4 => /lib/libhistory.so.4 (0x40167000)
   libc.so.6 => /lib/libc.so.6 (0x4016f000)
  /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

I didn't install any readline-devel - just the readline4.3 tarball from gnu.org
I just ran configure, make, make install from default.  It doesn't look like postgresql picked up that it had been
installed.

Am I doing something completely wrong? (the instructions were just to install readline before compiling postgresql).
Arethere any step-by-step instructions for this, or should it work out of the box? 

regards,
/j-p.



On 28 Oct 2002, Larry Rosenman wrote:

> 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@lerlaptop.lerctr.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)



JUSTATEST Art Online
http://www.justatest.com


pgsql-general by date:

Previous
From: Larry Rosenman
Date:
Subject: Re: command-line history (readline) fails
Next
From: Larry Rosenman
Date:
Subject: Re: command-line history (readline) fails