pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: moa <michael@jixel.com>
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #5807: psql fails to launch with "Cannot read termcap database; using dumb terminal settings. Aborted"
Date: Thu, 27 Jan 2011 05:38:52 -0800 (PST)
Message-ID: <6be478f2-b388-4ff6-bc9f-d5b33dd21c80@m7g2000vbq.googlegroups.com> (raw)
References: <201012291909.oBTJ9EJE057385@wwwmaster.postgresql.org>
	<AANLkTinhtG0wpz+0Rb994_cXT-RXL_k+8JnPYg5rkJDJ@mail.gmail.com>
	<AANLkTimg-vFedsK7Cx-Ugfr_4cmYWsNs=EgXJH61JYiU@mail.gmail.com>
	<AANLkTimikRNchaX1wJGJt5zu43EDLYyF1D-J-+5WDjWm@mail.gmail.com>
	<AANLkTin=WLegs1K3A+bccceM-TUaCEtLfN+Lfpg_NA_j@mail.gmail.com>
	<AANLkTim6MmMrie1=na=SNH4YRVFThmDq-B1P_cLd=MCQ@mail.gmail.com>
	<1e035e8b-982e-4f09-9800-bd1b57be93a2@w17g2000yqh.googlegroups.com>

On Jan 7, 6:35 pm, Sergey White <airsun.wh...@gmail.com> wrote:
> On Jan 7, 1:32 pm, 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 = /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??




view thread (14+ messages)  latest in thread

Message-ID: <6be478f2-b388-4ff6-bc9f-d5b33dd21c80@m7g2000vbq.googlegroups.com>
Permalink:  ../6be478f2-b388-4ff6-bc9f-d5b33dd21c80@m7g2000vbq.googlegroups.com/
Also on:    postgresql.org/message-id/6be478f2-b388-4ff6-bc9f-d5b33dd21c80@m7g2000vbq.googlegroups.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: michael@jixel.com
  Subject: Re: BUG #5807: psql fails to launch with "Cannot read termcap database; using dumb terminal settings. Aborted"
  In-Reply-To: <6be478f2-b388-4ff6-bc9f-d5b33dd21c80@m7g2000vbq.googlegroups.com>
  References: <201012291909.oBTJ9EJE057385@wwwmaster.postgresql.org> <AANLkTinhtG0wpz+0Rb994_cXT-RXL_k+8JnPYg5rkJDJ@mail.gmail.com> <AANLkTimg-vFedsK7Cx-Ugfr_4cmYWsNs=EgXJH61JYiU@mail.gmail.com> <AANLkTimikRNchaX1wJGJt5zu43EDLYyF1D-J-+5WDjWm@mail.gmail.com> <AANLkTin=WLegs1K3A+bccceM-TUaCEtLfN+Lfpg_NA_j@mail.gmail.com> <AANLkTim6MmMrie1=na=SNH4YRVFThmDq-B1P_cLd=MCQ@mail.gmail.com> <1e035e8b-982e-4f09-9800-bd1b57be93a2@w17g2000yqh.googlegroups.com> <6be478f2-b388-4ff6-bc9f-d5b33dd21c80@m7g2000vbq.googlegroups.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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