Re: BUG #5807: psql fails to launch with "Cannot read termcap database; using dumb terminal settings. Aborted" - Mailing list pgsql-bugs

From moa
Subject Re: BUG #5807: psql fails to launch with "Cannot read termcap database; using dumb terminal settings. Aborted"
Date
Msg-id 6be478f2-b388-4ff6-bc9f-d5b33dd21c80@m7g2000vbq.googlegroups.com
Whole thread Raw
In response to BUG #5807: psql fails to launch with "Cannot read termcap database; using dumb terminal settings. Aborted"  ("Gabe Nell" <gabe@kikini.com>)
List pgsql-bugs
On Jan 7, 6:35=A0pm, Sergey White <airsun.wh...@gmail.com> wrote:
> On Jan 7, 1:32=A0pm, dp...@pgadmin.org (Dave Page) wrote:
>
>
>
> > On Fri, Jan 7, 2011 at 5:52 AM, Gabe Nell <g...@kikini.com> wrote:
> > >> If you install libtermcap then it will start working good. We have
> > >> tested it at our end.
>
> > > Thanks Dharmendra, however in Ubuntu there is no package called
> > > libtermcap, though it has been suggested that the libncurses5-dev
> > > package provides this [1]. However I tried this and I still get the
> > > same error. Do you know the exact Ubuntu package that I need to
> > > install?
>
> > Apparently my colleague downloaded and installed a tarball of GNU
> > termcap 1.3.1.
>
> > I'm still not clear how this passed our internal testing though; I'm
> > guessing the QA test VMs do have some package on them which includes
> > termcap. Continuing the investigation...
>
> > --
> > Dave Page
> > Blog:http://pgsnake.blogspot.com
> > Twitter: @pgsnake
>
> > EnterpriseDB UK:http://www.enterprisedb.com
> > The Enterprise PostgreSQL Company
>
> > --
> > Sent via pgsql-bugs mailing list (pgsql-b...@postgresql.org)
> > To make changes to your subscription:http://www.postgresql.org/mailpref=
/pgsql-bugs
>
> Hi all. I have the same problem today was to install and create db in
> PSQL program in PostgreSQL 9.0.2 (Ubuntu 10.10 (32bit)). I solved it
> by using this command: LD_PRELOAD =3D /lib/libreadline.so.5 ./psql <and
> then your data>

I am still getting this problem.

I do a fresh install of the latest debian. I do the fresh install of
9.0.2 from the binary installer.

Everything works prefectly, except for not being able to run psql....

postgres@debian:~$ /opt/PostgreSQL/9.0/bin/psql
Password:
psql (9.0.2)
Type "help" for help.

Cannot read termcap database;
using dumb terminal settings.
Aborted



Anyone fiqured out how to fix this yet?? I think I may need to resort
to compiling from source otherwise??

pgsql-bugs by date:

Previous
From: "lxzou"
Date:
Subject: BUG #5853: when the walsender cannot exit when reboot slave computer
Next
From: Heikki Linnakangas
Date:
Subject: Re: BUG #5853: when the walsender cannot exit when reboot slave computer