Re: linking with readline

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: linking with readline
Дата
Msg-id Pine.LNX.4.30.0109041444590.828-100000@peter.localdomain
обсуждение исходный текст
Ответ на linking with readline  ("PC Drew" <pc@superiorcomm.net>)
Список pgsql-bugs
PC Drew writes:

> /usr/libexec/ld.so: Undefined symbol "_tgetent" called from
> psql:/usr/lib/libreadline.so.4.2 at 0x40089934

The OpenBSD linker is broken.

> After doing a little research, I found that tgetent is in the termcap
> library.  When I added -ltermcap to the following line in
> src/Makefile.global:
>
> LIBS = -lz -lresolv -lcompat -lm -lutil -ltermcap -lreadline

That's a good fix.

The current CVS tip also works around this problem.

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter

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

Предыдущее
От: johan27@advalvas.be
Дата:
Сообщение: BIG PROBLEM:fatal 1:set user id user admin is not in eg shadow
Следующее
От: "pierre"
Дата:
Сообщение: postgresql v7.1.3 bug report