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

From Gabe Nell
Subject BUG #5807: psql fails to launch with "Cannot read termcap database; using dumb terminal settings. Aborted"
Date
Msg-id 201012291909.oBTJ9EJE057385@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #5807: psql fails to launch with "Cannot read termcap database; using dumb terminal settings. Aborted"  (Dave Page <dpage@pgadmin.org>)
Re: BUG #5807: psql fails to launch with "Cannot read termcap database; using dumb terminal settings. Aborted"  (javiero09 <javiero09@msn.com>)
List pgsql-bugs
The following bug has been logged online:

Bug reference:      5807
Logged by:          Gabe Nell
Email address:      gabe@kikini.com
PostgreSQL version: 9.0.2
Operating system:   Linux Ubuntu 10.04
Description:        psql fails to launch with "Cannot read termcap database;
using dumb terminal settings. Aborted"
Details:

I am seeing this on fresh installs of Ubuntu 10.04 using the binary
installer downloaded from EnterpriseDB:

sudo ./postgresql-9.0.2-1-linux.bin --mode unattended --superpassword
mypassword

Launching psql fails:

ubuntu@host:~$ /opt/PostgreSQL/9.0/bin/psql -Upostgres
Password for user postgres:
psql (9.0.2)
Type "help" for help.

Cannot read termcap database;
using dumb terminal settings.
Aborted
ubuntu@host:~$

The above works fine with 9.0.1, suggesting this is a new issue in 9.0.2. I
tried both 32bit and 64bit, same problem. Interestingly, the problem doesn't
repro under byobu (Ubuntu's enhanced 'screen' utility).

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #5806: Julian Date routine miscalculates.
Next
From: "Greg Sabino Mullane"
Date:
Subject: Re: BUG #5802: configure script does not check for perl devel files