Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 8ACB91337B90 for ; Thu, 27 Jan 2011 09:56:07 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 85326-10 for ; Thu, 27 Jan 2011 13:56:01 +0000 (UTC) Received: from news.hub.org (news.hub.org [200.46.204.72]) by mail.postgresql.org (Postfix) with ESMTP id 1E592133798E for ; Thu, 27 Jan 2011 09:55:59 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.14.4/8.14.4) with ESMTP id p0RDtw21064099 for ; Thu, 27 Jan 2011 09:55:58 -0400 (AST) (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.14.4/8.14.4/Submit) id p0RDcpSV024231 for pgsql-bugs@postgresql.org; Thu, 27 Jan 2011 09:38:51 -0400 (AST) (envelope-from news) From: moa X-Newsgroups: pgsql.bugs 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) Organization: http://groups.google.com Lines: 61 Message-ID: <6be478f2-b388-4ff6-bc9f-d5b33dd21c80@m7g2000vbq.googlegroups.com> References: <201012291909.oBTJ9EJE057385@wwwmaster.postgresql.org> <1e035e8b-982e-4f09-9800-bd1b57be93a2@w17g2000yqh.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Complaints-To: groups-abuse@google.com Complaints-To: groups-abuse@google.com Injection-Info: m7g2000vbq.googlegroups.com; posting-host=80.176.150.243; posting-account=omW4pgoAAAAn3tNcwirvdcUY1CzpEavy User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 (.NET CLR 3.5.30729), gzip(gfe) To: pgsql-bugs@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.185 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01, URIBL_BLACK=1.725 X-Spam-Level: X-Archive-Number: 201101/226 X-Sequence-Number: 29248 On Jan 7, 6:35=A0pm, Sergey White wrote: > On Jan 7, 1:32=A0pm, dp...@pgadmin.org (Dave Page) wrote: > > > > > On Fri, Jan 7, 2011 at 5:52 AM, Gabe Nell 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 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??