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   [EMAIL PROTECTED]   http://funkturm.homeip.net/~peter


---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Reply via email to