-ltermcap needed for psql client build on OpenBSD 2.9

Поиск
Список
Период
Сортировка
От Tom Stowell
Тема -ltermcap needed for psql client build on OpenBSD 2.9
Дата
Msg-id sb787724.068@Mail.deforest.k12.wi.us
обсуждение исходный текст
Ответы Re: -ltermcap needed for psql client build on OpenBSD 2.9  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: -ltermcap needed for psql client build on OpenBSD 2.9  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-bugs
Doing a default ./configure (no additional options) on a freshly installed OpenBSD 2.9 results in a 'psql' binary that
isn'tlinked 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/ld.so: Undefined symbol "_tgetent" called from psql:/usr/lib/librea
dline.so.0.0 at 0x40088964
$

-----snip-----

"_tgetent" is a termcap symbol, and simply appending

-ltermcap

...to 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 по дате отправления:

Предыдущее
От: "Martin Kuria"
Дата:
Сообщение: triggers
Следующее
От: root
Дата:
Сообщение: WAL couse die my database?