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

From: Sergey White <airsun(dot)white(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5807: psql fails to launch with "Cannot read termcap database; using dumb terminal settings. Aborted"
Date: 2011-01-07 18:35:48
Message-ID: 1e035e8b-982e-4f09-9800-bd1b57be93a2@w17g2000yqh.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Jan 7, 1:32 pm, dp(dot)(dot)(dot)(at)pgadmin(dot)org (Dave Page) wrote:
> On Fri, Jan 7, 2011 at 5:52 AM, Gabe Nell <g(dot)(dot)(dot)(at)kikini(dot)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(dot)(dot)(dot)(at)postgresql(dot)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 = /lib/libreadline.so.5 ./psql <and
then your data>

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Josh Kupershmidt 2011-01-08 03:19:34 Re: BUG #5814: documentation bug
Previous Message Tom Lane 2011-01-07 15:11:40 Re: BUG #5820: FATAL: could not access file "libpqwalreceiver": No such file or directory