Re: Static build of psql with readline support

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Static build of psql with readline support
Дата
Msg-id 11784.1142477736@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Static build of psql with readline support  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Список pgsql-hackers
Christopher Kings-Lynne <chriskl@familyhealth.com.au> writes:
> I've been trying to build the cvs checkout of 8.1.3 on my freebsd 4.9 
> box with a STATIC psql utility.  I keep getting failures trying to hook 
> in libreadline I think:

> lreadline -lcrypt -lcompat -lm -lutil  -o psql
> /usr/lib/libreadline.a(terminal.o): In function `_rl_get_screen_size':
> terminal.o(.text+0x84): undefined reference to `tgetnum'
> terminal.o(.text+0xdd): undefined reference to `tgetnum'

You seem to be missing the termcap or curses library in your link.
readline requires whichever of those your platform has.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Christopher Kings-Lynne
Дата:
Сообщение: Static build of psql with readline support
Следующее
От: Mark Kirkwood
Дата:
Сообщение: Re: Static build of psql with readline support