Skip site navigation (1) Skip section navigation (2)

-ltermcap needed for psql client build on OpenBSD 2.9

From: "Tom Stowell" <jts(at)deforest(dot)k12(dot)wi(dot)us>
To: <pgsql-bugs(at)postgresql(dot)org>
Subject: -ltermcap needed for psql client build on OpenBSD 2.9
Date: 2001-08-14 05:55:31
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
Doing a default ./configure (no additional options) on a freshly installed OpenBSD 2.9 results in a 'psql' binary that isn't linked to termcap.  The error looks like this:

$ ./psql
Welcome to psql, the PostgreSQL interactive terminal.

Type:  \copyright for distribution terms
       \h for help with SQL commands
       \? for help on internal slash commands
       \g or terminate with semicolon to execute query
       \q to quit

/usr/libexec/ Undefined symbol "_tgetent" called from psql:/usr/lib/librea at 0x40088964


"_tgetent" is a termcap symbol, and simply appending

-ltermcap the final gcc command during the 'psql' make fixes the problem.  This should probably work w/o human intervention, however.  :-)

PostgreSQL rocks!

Tom Stowell


pgsql-bugs by date

Next:From: pgsql-bugsDate: 2001-08-14 06:11:24
Subject: triggers
Previous:From: pgsql-bugsDate: 2001-08-14 05:49:52
Subject: Except all eliminates what it shouldnt

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group