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